Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8895/0.8895, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7675/0.7675, allocations: 154.6 MB / 414.8 MB, free: 0.543 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.272e-05, allocations: 3.281 kB / 0.5208 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001378/0.001401, allocations: 0.7256 MB / 0.5215 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002544, allocations: 1.201 MB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.002592, allocations: 1.75 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.002618, allocations: 3.938 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.002687, allocations: 15.86 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.003054, allocations: 132.4 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003179, allocations: 117.2 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.003255, allocations: 15.91 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.003358, allocations: 67.88 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.003424, allocations: 37.28 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.003445, allocations: 12 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.003496, allocations: 23.98 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.003516, allocations: 15.92 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.003551, allocations: 33.44 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003674, allocations: 91.69 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003676, allocations: 4 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003677, allocations: 0 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.00368, allocations: 2.531 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000386/0.004066, allocations: 430.1 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.004102, allocations: 12.03 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.004138, allocations: 12.89 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.009e-05/0.004208, allocations: 114.8 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004219, allocations: 4.375 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.004234, allocations: 12.88 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.856e-05/0.004332, allocations: 63.5 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.004339, allocations: 4.125 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.004348, allocations: 5.297 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.004353, allocations: 384 / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.004377, allocations: 15.92 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.004671, allocations: 293.9 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.004749, allocations: 43.05 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.004771, allocations: 20.61 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.004778, allocations: 0 / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.408e-05/0.004862, allocations: 74.56 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.004863, allocations: 0 / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001502/0.005013, allocations: 105.5 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.005097, allocations: 52.56 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.005164, allocations: 173.9 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.005182, allocations: 33.7 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.005229, allocations: 143.4 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.005246, allocations: 19.88 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.005293, allocations: 40.64 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005398, allocations: 0.4923 MB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.005452, allocations: 53.69 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.005518, allocations: 104.1 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.985e-05/0.005608, allocations: 120.4 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.005611, allocations: 3.984 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000186/0.005797, allocations: 188.9 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.005828, allocations: 41.69 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005834, allocations: 3.938 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.005846, allocations: 4 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.005901, allocations: 26.81 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005904, allocations: 0 / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.005983, allocations: 19.98 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.005996, allocations: 15.98 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.006062, allocations: 160.5 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.006073, allocations: 13.45 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.006096, allocations: 12.38 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006098, allocations: 0 / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006099, allocations: 0 / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006102, allocations: 0.5 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.006305, allocations: 320.3 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.006308, allocations: 4 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.006332, allocations: 12.06 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006334, allocations: 3.938 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.006339, allocations: 0 / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00634, allocations: 0 / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006342, allocations: 6.422 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.848e-05/0.006441, allocations: 227.8 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.006447, allocations: 4 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.00646, allocations: 7.922 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.006494, allocations: 4 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.00652, allocations: 7.984 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.006525, allocations: 5.938 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.006558, allocations: 129.6 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006558, allocations: 0 / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001671/0.006725, allocations: 28 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.854e-05/0.006824, allocations: 100.3 kB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.006972, allocations: 161.6 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006973, allocations: 0 / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.007005, allocations: 31.61 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.007185, allocations: 15 kB / 0.5271 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.007413, allocations: 174.5 kB / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.007444, allocations: 59.36 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.007466, allocations: 10.64 kB / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.007541, allocations: 86.19 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.007542, allocations: 0 / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.003016/0.01056, allocations: 1.721 MB / 0.529 GB, free: 9.121 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.297022894024849]