Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001422/0.001422, allocations: 113 kB / 18.94 MB, free: 2.934 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.001724/0.001724, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.294/1.294, allocations: 203.8 MB / 0.5041 GB, free: 4.973 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.002021/0.002021, allocations: 59.91 kB / 0.7187 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6227, allocations: 102 MB / 0.8183 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003753/0.6264, allocations: 1.964 MB / 0.8202 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.6287, allocations: 1.296 MB / 0.8215 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.6289, allocations: 6.125 kB / 0.8215 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.6294, allocations: 94.95 kB / 0.8216 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.6298, allocations: 142.8 kB / 0.8217 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.6302, allocations: 130.5 kB / 0.8219 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.6306, allocations: 229.3 kB / 0.8221 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.6308, allocations: 35.73 kB / 0.8221 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.631, allocations: 110.5 kB / 0.8222 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.6312, allocations: 112.1 kB / 0.8223 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.6312, allocations: 14 kB / 0.8223 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.6314, allocations: 60.03 kB / 0.8224 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.6315, allocations: 64.08 kB / 0.8225 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.386e-05/0.6316, allocations: 91.86 kB / 0.8226 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.632, allocations: 280 kB / 0.8228 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.632, allocations: 0 / 0.8228 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.944e-06/0.632, allocations: 3.844 kB / 0.8228 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.632, allocations: 0 / 0.8228 GB, free: 26.25 MB / 0.6387 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.0008715/0.6329, allocations: 488 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6329, allocations: 13.66 kB / 0.8233 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.6329, allocations: 25.23 kB / 0.8233 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.6333, allocations: 237.9 kB / 0.8236 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.6333, allocations: 8.422 kB / 0.8236 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.6333, allocations: 8.859 kB / 0.8236 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.6336, allocations: 118.4 kB / 0.8237 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6337, allocations: 0 / 0.8237 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.6337, allocations: 10.11 kB / 0.8237 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.6337, allocations: 2.719 kB / 0.8237 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.634, allocations: 90.66 kB / 0.8238 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.6347, allocations: 423.1 kB / 0.8242 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.635, allocations: 130.1 kB / 0.8243 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.6352, allocations: 55.42 kB / 0.8244 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.6352, allocations: 2.562 kB / 0.8244 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.6355, allocations: 123.1 kB / 0.8245 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.6355, allocations: 1.375 kB / 0.8245 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0006589/0.6362, allocations: 251.5 kB / 0.8247 GB, free: 25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.6362, allocations: 60.69 kB / 0.8248 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.6365, allocations: 338.1 kB / 0.8251 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6366, allocations: 33.36 kB / 0.8251 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.6366, allocations: 138.3 kB / 0.8253 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.6367, allocations: 42.16 kB / 0.8253 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.6367, allocations: 60.27 kB / 0.8254 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.6368, allocations: 336.4 kB / 0.8257 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.637, allocations: 81.2 kB / 0.8258 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.6372, allocations: 136.9 kB / 0.8259 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.6376, allocations: 195.5 kB / 0.8261 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6376, allocations: 0 / 0.8261 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005083/0.6381, allocations: 284.6 kB / 0.8264 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.6381, allocations: 5.875 kB / 0.8264 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6381, allocations: 1.438 kB / 0.8264 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6381, allocations: 3.812 kB / 0.8264 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.6383, allocations: 41.53 kB / 0.8264 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6383, allocations: 7.578 kB / 0.8264 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.6385, allocations: 29.78 kB / 0.8264 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.6385, allocations: 13.89 kB / 0.8265 GB, free: 23.87 MB / 0.6387 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.0001201/0.6386, allocations: 155.9 kB / 0.8266 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.6386, allocations: 31.08 kB / 0.8266 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.6391, allocations: 213.5 kB / 0.8268 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6391, allocations: 2.156 kB / 0.8268 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6391, allocations: 0 / 0.8268 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6391, allocations: 1.125 kB / 0.8268 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.6399, allocations: 0.5195 MB / 0.8273 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6399, allocations: 0 / 0.8273 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.64, allocations: 17.83 kB / 0.8274 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.64, allocations: 5.844 kB / 0.8274 GB, free: 23.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.64, allocations: 11.11 kB / 0.8274 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.64, allocations: 0.6562 kB / 0.8274 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.64, allocations: 1.156 kB / 0.8274 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.6404, allocations: 291.3 kB / 0.8277 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.6404, allocations: 25.92 kB / 0.8277 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.6405, allocations: 6.484 kB / 0.8277 GB, free: 23.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.6406, allocations: 22.94 kB / 0.8277 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.6407, allocations: 14.73 kB / 0.8277 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.6407, allocations: 6.875 kB / 0.8277 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000192/0.6409, allocations: 216.6 kB / 0.8279 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6409, allocations: 0 / 0.8279 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003301/0.6412, allocations: 54.52 kB / 0.828 GB, free: 22.9 MB / 0.6387 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 (16): * Single equations (assignments): 11 * 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.001487/0.6427, allocations: 426.2 kB / 0.8284 GB, free: 22.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.6432, allocations: 173 kB / 0.8286 GB, free: 22.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6432, allocations: 7.875 kB / 0.8286 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.6434, allocations: 62.86 kB / 0.8286 GB, free: 22.67 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.6438, allocations: 61.73 kB / 0.8287 GB, free: 22.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.6447, allocations: 423.5 kB / 0.8291 GB, free: 22.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.6449, allocations: 0.7467 MB / 0.8298 GB, free: 21.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.6451, allocations: 38.8 kB / 0.8299 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.6452, allocations: 27.62 kB / 0.8299 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.6452, allocations: 1.375 kB / 0.8299 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.00875/0.6539, allocations: 3.162 MB / 0.833 GB, free: 21.37 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.014485348016024] Failed to read output from testmodel.py, exit status != 0: 0.6621922329068184 0.675493164 0.040759481 Calling exit ...