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.0008038/0.0008038, allocations: 96.36 kB / 19.7 MB, free: 456 kB / 13.93 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.0007866/0.0007866, allocations: 211.5 kB / 23 MB, free: 2.969 MB / 13.93 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.9056/0.9056, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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-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 0.7349/0.7349, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008652/0.0008652, allocations: 66.41 kB / 0.719 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4266, allocations: 102 MB / 0.8186 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002006/0.4287, allocations: 1.889 MB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4298, allocations: 1.221 MB / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.4299, allocations: 7.031 kB / 0.8217 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.4302, allocations: 93.47 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.4304, allocations: 143.7 kB / 0.8219 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.4306, allocations: 130.3 kB / 0.822 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.4308, allocations: 224.5 kB / 0.8222 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4309, allocations: 34.97 kB / 0.8223 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.431, allocations: 107.5 kB / 0.8224 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.4311, allocations: 103 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4312, allocations: 14.16 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.4312, allocations: 56.14 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.4313, allocations: 71.61 kB / 0.8226 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.4314, allocations: 63.77 kB / 0.8226 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.4316, allocations: 286.7 kB / 0.8229 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4316, allocations: 1.406 kB / 0.8229 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4316, allocations: 0 / 0.8229 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.4316, allocations: 0 / 0.8229 GB, free: 14.83 MB / 0.6198 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.0006133/0.4322, allocations: 498.3 kB / 0.8234 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.4323, allocations: 9.656 kB / 0.8234 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.4323, allocations: 25.08 kB / 0.8234 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.4326, allocations: 229.4 kB / 0.8236 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4326, allocations: 9.75 kB / 0.8237 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4326, allocations: 9.781 kB / 0.8237 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4328, allocations: 115 kB / 0.8238 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.4328, allocations: 3.938 kB / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4328, allocations: 10.78 kB / 0.8238 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4328, allocations: 7 kB / 0.8238 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.433, allocations: 86.19 kB / 0.8239 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.4334, allocations: 372.8 kB / 0.8242 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.4337, allocations: 129.2 kB / 0.8244 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.4337, allocations: 56.11 kB / 0.8244 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.4338, allocations: 1.25 kB / 0.8244 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.434, allocations: 129.7 kB / 0.8245 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.434, allocations: 0 / 0.8245 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004192/0.4344, allocations: 252.6 kB / 0.8248 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.4344, allocations: 58.36 kB / 0.8248 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.4347, allocations: 342.7 kB / 0.8252 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4347, allocations: 33.11 kB / 0.8252 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.4347, allocations: 142.1 kB / 0.8253 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.4348, allocations: 42.64 kB / 0.8254 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.4349, allocations: 59.34 kB / 0.8254 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.435, allocations: 339.1 kB / 0.8257 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4351, allocations: 84.5 kB / 0.8258 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4352, allocations: 131.5 kB / 0.826 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.4355, allocations: 194.5 kB / 0.8261 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4355, allocations: 1.062 kB / 0.8261 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003267/0.4358, allocations: 285.8 kB / 0.8264 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4358, allocations: 11.06 kB / 0.8264 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4358, allocations: 1.562 kB / 0.8264 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4358, allocations: 8.969 kB / 0.8264 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.4359, allocations: 42.05 kB / 0.8265 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4359, allocations: 0.6562 kB / 0.8265 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.436, allocations: 26.81 kB / 0.8265 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.436, allocations: 14.38 kB / 0.8265 GB, free: 12.47 MB / 0.6198 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 9.773e-05/0.4361, allocations: 162 kB / 0.8267 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4362, allocations: 35 kB / 0.8267 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.4365, allocations: 207.6 kB / 0.8269 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4365, allocations: 2.109 kB / 0.8269 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4365, allocations: 1.156 kB / 0.8269 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4365, allocations: 0.7031 kB / 0.8269 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.437, allocations: 0.4978 MB / 0.8274 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.437, allocations: 0 / 0.8274 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.4371, allocations: 16.14 kB / 0.8274 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4371, allocations: 1.25 kB / 0.8274 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4371, allocations: 2.422 kB / 0.8274 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4371, allocations: 12.92 kB / 0.8274 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4371, allocations: 1.891 kB / 0.8274 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.4373, allocations: 314.4 kB / 0.8277 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.4374, allocations: 26.86 kB / 0.8277 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.4374, allocations: 7.594 kB / 0.8278 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.4375, allocations: 13.06 kB / 0.8278 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4375, allocations: 20.39 kB / 0.8278 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.4375, allocations: 5.984 kB / 0.8278 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001445/0.4377, allocations: 214.4 kB / 0.828 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4377, allocations: 0 / 0.828 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002189/0.4379, allocations: 50.44 kB / 0.828 GB, free: 11.53 MB / 0.6198 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.0006594/0.4385, allocations: 454.4 kB / 0.8285 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.4388, allocations: 181.9 kB / 0.8287 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.4388, allocations: 1 kB / 0.8287 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.439, allocations: 76.03 kB / 0.8287 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.4392, allocations: 60.2 kB / 0.8288 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.4397, allocations: 444.8 kB / 0.8292 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.4398, allocations: 139.5 kB / 0.8293 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.4399, allocations: 33.53 kB / 0.8294 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.4399, allocations: 0 / 0.8294 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.004539/0.4444, allocations: 3.449 MB / 0.8327 GB, free: 10.49 MB / 0.6198 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: 5.717218838632107] Failed to read output from testmodel.py, exit status != 0: 0.4493515486828983 0.45789833599999996 0.024461216 Calling exit ...