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.000669/0.000669, allocations: 96.38 kB / 19.7 MB, free: 448 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.0006839/0.0006839, allocations: 211.2 kB / 23 MB, free: 2.977 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.8221/0.8221, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.719/0.719, allocations: 203.8 MB / 0.5049 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] 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.0008383/0.0008383, allocations: 70.27 kB / 0.7194 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3707, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002232/0.3729, allocations: 1.898 MB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3742, allocations: 1.22 MB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.3743, allocations: 0 / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3746, allocations: 95.44 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3749, allocations: 143.7 kB / 0.8223 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3751, allocations: 128.2 kB / 0.8224 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3753, allocations: 234.3 kB / 0.8226 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3755, allocations: 30.72 kB / 0.8227 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3756, allocations: 103.2 kB / 0.8228 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3757, allocations: 106.6 kB / 0.8229 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3757, allocations: 13.78 kB / 0.8229 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.3758, allocations: 61.17 kB / 0.8229 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.3758, allocations: 63.77 kB / 0.823 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.3759, allocations: 66.39 kB / 0.8231 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.3762, allocations: 284.8 kB / 0.8233 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3762, allocations: 0 / 0.8233 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3762, allocations: 0 / 0.8233 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3762, allocations: 4.703 kB / 0.8233 GB, free: 14.64 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.0006406/0.3769, allocations: 498.7 kB / 0.8238 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3769, allocations: 8.469 kB / 0.8238 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.3769, allocations: 24.8 kB / 0.8238 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.3772, allocations: 226.8 kB / 0.8241 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3772, allocations: 9.812 kB / 0.8241 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3772, allocations: 7.547 kB / 0.8241 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3774, allocations: 124.2 kB / 0.8242 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.3775, allocations: 0 / 0.8242 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3775, allocations: 9.812 kB / 0.8242 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3775, allocations: 2.781 kB / 0.8242 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3776, allocations: 86.92 kB / 0.8243 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.3781, allocations: 370.7 kB / 0.8246 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.3783, allocations: 130 kB / 0.8248 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.3784, allocations: 52.61 kB / 0.8248 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3784, allocations: 1.031 kB / 0.8248 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.3786, allocations: 129.1 kB / 0.8249 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.3786, allocations: 0 / 0.8249 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000408/0.379, allocations: 260.6 kB / 0.8252 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3791, allocations: 58.67 kB / 0.8253 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3793, allocations: 342.3 kB / 0.8256 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3793, allocations: 32.88 kB / 0.8256 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.3794, allocations: 139.3 kB / 0.8257 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.3794, allocations: 42.36 kB / 0.8258 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.3795, allocations: 58.64 kB / 0.8258 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.3796, allocations: 340.9 kB / 0.8262 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3797, allocations: 82.59 kB / 0.8262 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3798, allocations: 148 kB / 0.8264 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3801, allocations: 186.7 kB / 0.8266 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3801, allocations: 0 / 0.8266 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003203/0.3804, allocations: 287.6 kB / 0.8268 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3804, allocations: 10.97 kB / 0.8268 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3804, allocations: 0 / 0.8268 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3804, allocations: 2.297 kB / 0.8268 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3805, allocations: 46.5 kB / 0.8269 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3805, allocations: 3.578 kB / 0.8269 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.3806, allocations: 30.59 kB / 0.8269 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3806, allocations: 13.25 kB / 0.8269 GB, free: 12.27 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 0.0001037/0.3807, allocations: 163 kB / 0.8271 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3808, allocations: 30.97 kB / 0.8271 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.3811, allocations: 211.2 kB / 0.8273 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3811, allocations: 2.906 kB / 0.8273 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3811, allocations: 0 / 0.8273 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3811, allocations: 5.406 kB / 0.8273 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3815, allocations: 0.4896 MB / 0.8278 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3815, allocations: 5.531 kB / 0.8278 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.3816, allocations: 14.08 kB / 0.8278 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3816, allocations: 1.766 kB / 0.8278 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3816, allocations: 7.531 kB / 0.8278 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3816, allocations: 1.125 kB / 0.8278 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3816, allocations: 0 / 0.8278 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3819, allocations: 314.6 kB / 0.8281 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.3819, allocations: 22.64 kB / 0.8282 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.3819, allocations: 7.188 kB / 0.8282 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.382, allocations: 12.73 kB / 0.8282 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.3821, allocations: 21.42 kB / 0.8282 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3821, allocations: 10.59 kB / 0.8282 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000145/0.3822, allocations: 210 kB / 0.8284 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3822, allocations: 0 / 0.8284 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002125/0.3824, allocations: 58.86 kB / 0.8285 GB, free: 11.33 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.0006389/0.3831, allocations: 452.8 kB / 0.8289 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3834, allocations: 183.4 kB / 0.8291 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.3834, allocations: 0 / 0.8291 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3835, allocations: 76.67 kB / 0.8291 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3837, allocations: 61.88 kB / 0.8292 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.3842, allocations: 448.7 kB / 0.8296 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3843, allocations: 147.4 kB / 0.8298 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.3844, allocations: 25.45 kB / 0.8298 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.3844, allocations: 0 / 0.8298 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.004567/0.389, allocations: 3.456 MB / 0.8332 GB, free: 10.28 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.449567823205143] Failed to read output from testmodel.py, exit status != 0: 0.393855269998312 0.40253880200000003 0.024514497000000003 Calling exit ...