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.0008188/0.0008188, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 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.0008108/0.0008108, allocations: 214.2 kB / 22.25 MB, free: 3.578 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 1.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.617 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.7761/0.7761, allocations: 203.8 MB / 0.5042 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [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.001351/0.001351, allocations: 67.67 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.5521, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002507/0.5546, allocations: 1.899 MB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.5562, allocations: 1.212 MB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.5563, allocations: 1.156 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.5566, allocations: 98.55 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.557, allocations: 145.2 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.5572, allocations: 129.4 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.5574, allocations: 228.6 kB / 0.8214 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.5576, allocations: 31.09 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.5577, allocations: 104.6 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.5579, allocations: 109.2 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.5579, allocations: 13.38 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.558, allocations: 59.75 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.5581, allocations: 62.52 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.5582, allocations: 74.53 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.5586, allocations: 282 kB / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5586, allocations: 0 / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5586, allocations: 1.438 kB / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.5586, allocations: 0.75 kB / 0.8221 GB, free: 14.34 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.00103/0.5597, allocations: 493 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.5597, allocations: 10.16 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.5598, allocations: 43.91 kB / 0.8226 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.5599, allocations: 25.12 kB / 0.8227 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5603, allocations: 229.8 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.5603, allocations: 14.47 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.5603, allocations: 14.84 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.5606, allocations: 112.6 kB / 0.823 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5607, allocations: 0.7031 kB / 0.823 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.5607, allocations: 9.5 kB / 0.823 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.5607, allocations: 2.234 kB / 0.823 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.5609, allocations: 85.89 kB / 0.8231 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.5616, allocations: 401.5 kB / 0.8235 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.5619, allocations: 129.3 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.562, allocations: 51.45 kB / 0.8237 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.562, allocations: 5.156 kB / 0.8237 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.5622, allocations: 131.7 kB / 0.8238 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.417e-06/0.5622, allocations: 0 / 0.8238 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004754/0.5627, allocations: 256.3 kB / 0.824 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.5628, allocations: 59.56 kB / 0.8241 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.5631, allocations: 338.7 kB / 0.8244 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.5632, allocations: 35.64 kB / 0.8245 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.5632, allocations: 138.8 kB / 0.8246 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.5633, allocations: 41.89 kB / 0.8246 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.5634, allocations: 63.77 kB / 0.8247 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5635, allocations: 337.8 kB / 0.825 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.5637, allocations: 82.48 kB / 0.8251 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.5638, allocations: 139.4 kB / 0.8252 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.5641, allocations: 196.5 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5641, allocations: 1.344 kB / 0.8254 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004268/0.5646, allocations: 279.5 kB / 0.8257 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5646, allocations: 12.17 kB / 0.8257 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5646, allocations: 160 / 0.8257 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5646, allocations: 6.156 kB / 0.8257 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.5648, allocations: 42.09 kB / 0.8257 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.5648, allocations: 7.094 kB / 0.8257 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.5649, allocations: 27.7 kB / 0.8258 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.5649, allocations: 8.938 kB / 0.8258 GB, free: 11.91 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.0001342/0.565, allocations: 162.8 kB / 0.8259 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.5651, allocations: 31.39 kB / 0.826 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.5654, allocations: 214.5 kB / 0.8262 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5654, allocations: 2.312 kB / 0.8262 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.5654, allocations: 3.984 kB / 0.8262 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5655, allocations: 2.766 kB / 0.8262 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.5661, allocations: 0.5195 MB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5661, allocations: 0 / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.5662, allocations: 19.47 kB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5662, allocations: 5.875 kB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5662, allocations: 2.375 kB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.5662, allocations: 2.391 kB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5662, allocations: 0 / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.5665, allocations: 318 kB / 0.827 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.5666, allocations: 23.36 kB / 0.827 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.5666, allocations: 7.844 kB / 0.827 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.5667, allocations: 12.64 kB / 0.8271 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.5667, allocations: 21.19 kB / 0.8271 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.5667, allocations: 10.62 kB / 0.8271 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001577/0.5669, allocations: 212.5 kB / 0.8273 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5669, allocations: 1.375 kB / 0.8273 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002426/0.5671, allocations: 53.95 kB / 0.8273 GB, free: 10.93 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.001221/0.5684, allocations: 1.189 MB / 0.8285 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.5687, allocations: 171.5 kB / 0.8287 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5687, allocations: 0 / 0.8287 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.5688, allocations: 76.34 kB / 0.8287 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.5691, allocations: 52.34 kB / 0.8288 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.572, allocations: 2.634 MB / 0.8314 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.5721, allocations: 147 kB / 0.8315 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.5722, allocations: 35.02 kB / 0.8315 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5723, allocations: 75.59 kB / 0.8316 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.5723, allocations: 0 / 0.8316 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.5997, allocations: 6.369 MB / 0.8378 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.444/7.044, allocations: 13.58 kB / 0.8378 GB, free: 6.09 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Change.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.042497754096985] Failed to read output from testmodel.py, exit status != 0: 7.140471237245947 7.148897375 6.588305669 Calling exit ...