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.001443/0.001443, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002235/0.002235, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.438/1.438, allocations: 203.5 MB / 0.5038 GB, free: 4.906 MB / 414.1 MB " [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: 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.002122/0.002122, allocations: 67.89 kB / 0.7183 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7531, allocations: 102 MB / 0.8179 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.00393/0.757, allocations: 1.893 MB / 0.8197 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.7596, allocations: 1.214 MB / 0.8209 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.7597, allocations: 3.312 kB / 0.8209 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.7602, allocations: 95.02 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.7606, allocations: 140.2 kB / 0.8211 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.761, allocations: 129.7 kB / 0.8212 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.7614, allocations: 230 kB / 0.8215 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.7615, allocations: 35.7 kB / 0.8215 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.7617, allocations: 102.6 kB / 0.8216 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.762, allocations: 104.9 kB / 0.8217 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.762, allocations: 13.81 kB / 0.8217 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.7622, allocations: 54.67 kB / 0.8218 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.7623, allocations: 64.36 kB / 0.8218 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.7624, allocations: 72.69 kB / 0.8219 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.7628, allocations: 282.4 kB / 0.8222 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7628, allocations: 1.562 kB / 0.8222 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7628, allocations: 0 / 0.8222 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7628, allocations: 0 / 0.8222 GB, free: 26.46 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.0009031/0.7637, allocations: 495 kB / 0.8226 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7638, allocations: 10.75 kB / 0.8226 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.7638, allocations: 25.59 kB / 0.8227 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.7642, allocations: 231.5 kB / 0.8229 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.7642, allocations: 13.25 kB / 0.8229 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.7643, allocations: 11.55 kB / 0.8229 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.7646, allocations: 125.8 kB / 0.823 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7646, allocations: 1 kB / 0.823 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.7646, allocations: 7.047 kB / 0.823 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7646, allocations: 1.719 kB / 0.823 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.7649, allocations: 89.94 kB / 0.8231 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.7656, allocations: 375.2 kB / 0.8235 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.766, allocations: 124 kB / 0.8236 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.7661, allocations: 59.61 kB / 0.8237 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.7662, allocations: 2.406 kB / 0.8237 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.7665, allocations: 129.6 kB / 0.8238 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.7665, allocations: 1.656 kB / 0.8238 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0006931/0.7672, allocations: 250.8 kB / 0.824 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7672, allocations: 54.7 kB / 0.8241 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.7676, allocations: 345.7 kB / 0.8244 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.7676, allocations: 33.95 kB / 0.8244 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.7677, allocations: 138.5 kB / 0.8246 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.7677, allocations: 44.77 kB / 0.8246 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.7678, allocations: 56.31 kB / 0.8247 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.7679, allocations: 338.1 kB / 0.825 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.7681, allocations: 88.23 kB / 0.8251 GB, free: 24.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.7684, allocations: 136.8 kB / 0.8252 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.7688, allocations: 191.2 kB / 0.8254 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7688, allocations: 0 / 0.8254 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005869/0.7694, allocations: 282.6 kB / 0.8257 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.7694, allocations: 9.438 kB / 0.8257 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7694, allocations: 6.312 kB / 0.8257 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.7694, allocations: 6.922 kB / 0.8257 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.7697, allocations: 46.83 kB / 0.8257 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.7697, allocations: 2.906 kB / 0.8257 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.7698, allocations: 23.12 kB / 0.8258 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.7699, allocations: 12.25 kB / 0.8258 GB, free: 24.12 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.0001337/0.77, allocations: 156 kB / 0.8259 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.77, allocations: 31.95 kB / 0.8259 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.7705, allocations: 229 kB / 0.8262 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.7706, allocations: 2.109 kB / 0.8262 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7706, allocations: 1.406 kB / 0.8262 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7706, allocations: 4.641 kB / 0.8262 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.7714, allocations: 497.4 kB / 0.8266 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7714, allocations: 0.6562 kB / 0.8266 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.7715, allocations: 15.61 kB / 0.8267 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.7715, allocations: 5.156 kB / 0.8267 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.7715, allocations: 11.92 kB / 0.8267 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7715, allocations: 0 / 0.8267 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7715, allocations: 1.031 kB / 0.8267 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.772, allocations: 310.2 kB / 0.827 GB, free: 23.33 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.772, allocations: 26.3 kB / 0.827 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.7721, allocations: 3.766 kB / 0.827 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.7722, allocations: 16.2 kB / 0.827 GB, free: 23.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.7723, allocations: 21.73 kB / 0.827 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.7723, allocations: 6.172 kB / 0.827 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002274/0.7726, allocations: 214.3 kB / 0.8272 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7726, allocations: 0 / 0.8272 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003601/0.7729, allocations: 55.55 kB / 0.8273 GB, free: 23.17 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 (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.001678/0.7746, allocations: 450.2 kB / 0.8277 GB, free: 23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.7751, allocations: 188.9 kB / 0.8279 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7751, allocations: 1.188 kB / 0.8279 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.7753, allocations: 72.14 kB / 0.828 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.7758, allocations: 55.06 kB / 0.828 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.7765, allocations: 418.3 kB / 0.8284 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.7767, allocations: 143 kB / 0.8286 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.7768, allocations: 30.58 kB / 0.8286 GB, free: 22.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.7769, allocations: 29.88 kB / 0.8286 GB, free: 22.57 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.7769, allocations: 4 kB / 0.8286 GB, free: 22.56 MB / 0.6387 GB Notification: Performance of Templates: time 0.008572/0.7855, allocations: 3.412 MB / 0.832 GB, free: 22.19 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.359851440414786] Failed to read output from testmodel.py, exit status != 0: 0.7943104468286037 0.807838967 0.042196706 Calling exit ...