Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.001461/0.001461, allocations: 81.94 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001989/0.001989, allocations: 174.2 kB / 22.46 MB, free: 4.988 MB / 14.72 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 1.544/1.544, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.27/1.27, allocations: 154.7 MB / 413.9 MB, free: 5.16 MB / 382.1 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 178] 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.837e-06/3.837e-06, allocations: 0 / 0.6187 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.643e-05/4.027e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003601/0.003641, allocations: 1.899 MB / 0.6206 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.005794, allocations: 1.204 MB / 0.6218 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.005896, allocations: 7.938 kB / 0.6218 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.006275, allocations: 99.5 kB / 0.6219 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.006652, allocations: 143.3 kB / 0.622 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.006937, allocations: 131.5 kB / 0.6221 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.007235, allocations: 223.4 kB / 0.6224 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.007392, allocations: 33.78 kB / 0.6224 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.007596, allocations: 135.6 kB / 0.6225 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.00775, allocations: 87.81 kB / 0.6226 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.007784, allocations: 12 kB / 0.6226 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.007908, allocations: 63.91 kB / 0.6227 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.008003, allocations: 71.69 kB / 0.6227 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.008078, allocations: 43.84 kB / 0.6228 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.008442, allocations: 287 kB / 0.6231 GB, free: 96 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008446, allocations: 0 / 0.6231 GB, free: 96 kB / 0.5294 GB Notification: Performance of FrontEnd: time 9.51e-07/0.008447, allocations: 0 / 0.6231 GB, free: 96 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.008453, allocations: 0 / 0.6231 GB, free: 96 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009205/0.009373, allocations: 493 kB / 0.6235 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.009409, allocations: 12.03 kB / 0.6235 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.009491, allocations: 36.78 kB / 0.6236 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.009862, allocations: 229 kB / 0.6238 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.009885, allocations: 11.94 kB / 0.6238 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.009907, allocations: 12 kB / 0.6238 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.01021, allocations: 113.6 kB / 0.6239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.01022, allocations: 0 / 0.6239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.01023, allocations: 4 kB / 0.6239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.01023, allocations: 0 / 0.6239 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.01052, allocations: 96.61 kB / 0.624 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.0112, allocations: 376.3 kB / 0.6244 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.01154, allocations: 122.6 kB / 0.6245 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.01171, allocations: 60.2 kB / 0.6246 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.01174, allocations: 7.938 kB / 0.6246 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.01204, allocations: 133.9 kB / 0.6247 GB, free: 14.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.01204, allocations: 0 / 0.6247 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006841/0.01272, allocations: 249.4 kB / 0.6249 GB, free: 14.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.01278, allocations: 55.41 kB / 0.625 GB, free: 14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.01317, allocations: 349.7 kB / 0.6253 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.0132, allocations: 29.7 kB / 0.6253 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.01334, allocations: 140.5 kB / 0.6255 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.01339, allocations: 43.69 kB / 0.6255 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.01348, allocations: 57.69 kB / 0.6256 GB, free: 13.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.01364, allocations: 334.8 kB / 0.6259 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.01386, allocations: 87.94 kB / 0.626 GB, free: 12.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.01411, allocations: 134.3 kB / 0.6261 GB, free: 12.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.01458, allocations: 191.5 kB / 0.6263 GB, free: 12.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01458, allocations: 0 / 0.6263 GB, free: 12.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005851/0.01517, allocations: 281.3 kB / 0.6266 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01518, allocations: 12.09 kB / 0.6266 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01519, allocations: 0 / 0.6266 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01521, allocations: 7.938 kB / 0.6266 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.01541, allocations: 39.97 kB / 0.6266 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.01542, allocations: 3.938 kB / 0.6266 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.01557, allocations: 31.86 kB / 0.6266 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.01561, allocations: 12 kB / 0.6267 GB, free: 12.21 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001694/0.01578, allocations: 155.6 kB / 0.6268 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.01582, allocations: 27.81 kB / 0.6268 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.01634, allocations: 218.3 kB / 0.627 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.01634, allocations: 3.938 kB / 0.627 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.01636, allocations: 4 kB / 0.627 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01636, allocations: 0 / 0.627 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.0172, allocations: 0.4941 MB / 0.6275 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01721, allocations: 3.938 kB / 0.6275 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.01731, allocations: 19.98 kB / 0.6276 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.01731, allocations: 4 kB / 0.6276 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.01733, allocations: 8 kB / 0.6276 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01733, allocations: 0 / 0.6276 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.01734, allocations: 3.984 kB / 0.6276 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.01784, allocations: 303.6 kB / 0.6279 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.01789, allocations: 23.8 kB / 0.6279 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.01792, allocations: 11.94 kB / 0.6279 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.01808, allocations: 19.97 kB / 0.6279 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.01814, allocations: 15.97 kB / 0.6279 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.01816, allocations: 8 kB / 0.6279 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002282/0.01839, allocations: 217.2 kB / 0.6281 GB, free: 10.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01839, allocations: 0 / 0.6281 GB, free: 10.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003196/0.01871, allocations: 47.89 kB / 0.6282 GB, free: 10.58 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 0.001682/0.02039, allocations: 448.5 kB / 0.6286 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.0209, allocations: 188.7 kB / 0.6288 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.0209, allocations: 0 / 0.6288 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.0211, allocations: 67.89 kB / 0.6289 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.02153, allocations: 61.47 kB / 0.6289 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.0223, allocations: 413.7 kB / 0.6293 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.02245, allocations: 145.2 kB / 0.6295 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.02256, allocations: 33.94 kB / 0.6295 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.02264, allocations: 36.48 kB / 0.6295 GB, free: 9.379 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.02264, allocations: 0 / 0.6295 GB, free: 9.379 MB / 0.545 GB Notification: Performance of Templates: time 0.007715/0.03035, allocations: 3.281 MB / 0.6327 GB, free: 6.172 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1280514393001795] Failed to read output from testmodel.py, exit status != 0: 0.039030058309435844 0.052339921000000005 0.041023545 Calling exit ...