Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.001697/0.001697, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00205/0.00205, allocations: 215.4 kB / 22.25 MB, free: 5.121 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06549/0.06549, allocations: 12.21 MB / 324.6 MB, free: 7.266 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007577/0.0007577, allocations: 28.83 kB / 384.1 MB, free: 46.56 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.532/2.532, allocations: 353.8 MB / 0.7787 GB, free: 1.055 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.003693/0.003693, allocations: 123.9 kB / 1.061 GB, free: 13.04 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2673, allocations: 134.9 MB / 1.192 GB, free: 6.223 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Change): time 0.003435/0.2707, allocations: 1.973 MB / 1.194 GB, free: 4.238 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.273, allocations: 1.302 MB / 1.195 GB, free: 2.934 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.2731, allocations: 3.938 kB / 1.195 GB, free: 2.93 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.2735, allocations: 95.56 kB / 1.196 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.2739, allocations: 139.4 kB / 1.196 GB, free: 2.699 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.2742, allocations: 127.6 kB / 1.196 GB, free: 2.574 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.2745, allocations: 231.4 kB / 1.196 GB, free: 2.348 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2746, allocations: 41.72 kB / 1.196 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.2749, allocations: 111.6 kB / 1.196 GB, free: 2.195 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.275, allocations: 107.5 kB / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.2751, allocations: 19.94 kB / 1.196 GB, free: 2.07 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2752, allocations: 51.97 kB / 1.196 GB, free: 2.02 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.2753, allocations: 67.81 kB / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2754, allocations: 87.41 kB / 1.196 GB, free: 1.867 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.2758, allocations: 278.9 kB / 1.197 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2758, allocations: 4 kB / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2758, allocations: 0 / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2758, allocations: 3.938 kB / 1.197 GB, free: 1.586 MB / 0.8263 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.0009997/0.2768, allocations: 488.9 kB / 1.197 GB, free: 1.078 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2769, allocations: 15.97 kB / 1.197 GB, free: 1.062 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.2769, allocations: 24.8 kB / 1.197 GB, free: 1.039 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.2773, allocations: 237.1 kB / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.2773, allocations: 4 kB / 1.197 GB, free: 0.7812 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.2774, allocations: 12 kB / 1.198 GB, free: 0.7695 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.2777, allocations: 117.6 kB / 1.198 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2777, allocations: 4 kB / 1.198 GB, free: 0.6445 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2777, allocations: 3.938 kB / 1.198 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2777, allocations: 3.984 kB / 1.198 GB, free: 0.6367 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.278, allocations: 94.67 kB / 1.198 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.2788, allocations: 427.4 kB / 1.198 GB, free: 88 kB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.2791, allocations: 122.6 kB / 1.198 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2793, allocations: 48.83 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2793, allocations: 4 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/0.2796, allocations: 127.5 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2796, allocations: 3.938 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0006925/0.2803, allocations: 251.9 kB / 1.199 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.2804, allocations: 59.39 kB / 1.199 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.2808, allocations: 341.8 kB / 1.199 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2808, allocations: 33.7 kB / 1.199 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.281, allocations: 136.5 kB / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.281, allocations: 47.67 kB / 1.199 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.2811, allocations: 53.7 kB / 1.199 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2813, allocations: 334.8 kB / 1.2 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.2815, allocations: 87.94 kB / 1.2 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.2818, allocations: 137 kB / 1.2 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.2822, allocations: 192.8 kB / 1.2 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2822, allocations: 8 kB / 1.2 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006283/0.2828, allocations: 282.5 kB / 1.2 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2828, allocations: 8.156 kB / 1.2 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2829, allocations: 4 kB / 1.2 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2829, allocations: 0 / 1.2 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2831, allocations: 47.84 kB / 1.2 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2831, allocations: 4 kB / 1.2 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.2832, allocations: 23.88 kB / 1.2 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.2833, allocations: 15.98 kB / 1.2 GB, free: 13.64 MB / 0.8419 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.000175/0.2835, allocations: 157.8 kB / 1.201 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.2835, allocations: 27.8 kB / 1.201 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.284, allocations: 203.6 kB / 1.201 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.284, allocations: 0 / 1.201 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.284, allocations: 4 kB / 1.201 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.284, allocations: 0 / 1.201 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009205/0.285, allocations: 0.5274 MB / 1.201 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.285, allocations: 0 / 1.201 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.2851, allocations: 19.92 kB / 1.201 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2851, allocations: 0 / 1.201 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2851, allocations: 0 / 1.201 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.2851, allocations: 7.984 kB / 1.201 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2851, allocations: 0 / 1.201 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.2856, allocations: 295.2 kB / 1.202 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.2856, allocations: 31.75 kB / 1.202 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.2857, allocations: 4 kB / 1.202 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2858, allocations: 19.97 kB / 1.202 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.2859, allocations: 15.98 kB / 1.202 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.2859, allocations: 7.984 kB / 1.202 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002515/0.2862, allocations: 213.1 kB / 1.202 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2862, allocations: 4 kB / 1.202 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003354/0.2865, allocations: 55.8 kB / 1.202 GB, free: 11.99 MB / 0.8419 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.001579/0.2881, allocations: 416.3 kB / 1.202 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.2886, allocations: 184 kB / 1.203 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2886, allocations: 4.062 kB / 1.203 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.2888, allocations: 59.97 kB / 1.203 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.2892, allocations: 54.78 kB / 1.203 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.29, allocations: 423.8 kB / 1.203 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.2905, allocations: 0.7519 MB / 1.204 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.2906, allocations: 29.94 kB / 1.204 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.2907, allocations: 27.44 kB / 1.204 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.2907, allocations: 0 / 1.204 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.008735/0.2994, allocations: 3.164 MB / 1.207 GB, free: 7.066 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.261054430156946] Failed to read output from testmodel.py, exit status != 0: 0.3080843575298786 0.32365811699999997 0.04443446299999994 Calling exit ...