Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.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.0008137/0.0008137, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008574/0.0008574, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.9508/0.9508, allocations: 230.6 MB / 256 MB, free: 9.805 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.7769/0.7769, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",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.000953/0.000953, allocations: 69.89 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4577, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Less): time 0.002332/0.46, allocations: 2.047 MB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.4614, allocations: 1.362 MB / 0.8212 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4616, allocations: 7.688 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.4619, allocations: 169.6 kB / 0.8214 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.4623, allocations: 201.4 kB / 0.8216 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.4625, allocations: 163 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.4628, allocations: 345.4 kB / 0.822 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4629, allocations: 34 kB / 0.8221 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.4631, allocations: 172.4 kB / 0.8222 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.4632, allocations: 158.6 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.4632, allocations: 15.69 kB / 0.8224 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.722e-05/0.4633, allocations: 60.66 kB / 0.8225 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.4634, allocations: 90.97 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.887e-05/0.4635, allocations: 136 kB / 0.8227 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.4638, allocations: 379.7 kB / 0.823 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4638, allocations: 1.594 kB / 0.823 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4638, allocations: 1.281 kB / 0.823 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4638, allocations: 0 / 0.823 GB, free: 14.06 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006969/0.4645, allocations: 0.5826 MB / 0.8236 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.4646, allocations: 10.31 kB / 0.8236 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.103e-05/0.4646, allocations: 40.03 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.4647, allocations: 37.11 kB / 0.8237 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.465, allocations: 323.6 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.465, allocations: 8.391 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.4651, allocations: 6.641 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.4652, allocations: 112.5 kB / 0.8241 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4652, allocations: 0 / 0.8241 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4652, allocations: 1.062 kB / 0.8241 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4652, allocations: 2.062 kB / 0.8241 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.4654, allocations: 58.45 kB / 0.8242 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.4661, allocations: 478.2 kB / 0.8246 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.4664, allocations: 128 kB / 0.8248 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.4664, allocations: 49.42 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4664, allocations: 2.656 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.4666, allocations: 116.5 kB / 0.8249 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.4666, allocations: 0 / 0.8249 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003496/0.467, allocations: 222.3 kB / 0.8251 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.467, allocations: 57.41 kB / 0.8252 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.4674, allocations: 0.5302 MB / 0.8257 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4674, allocations: 26.89 kB / 0.8257 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.4675, allocations: 177.4 kB / 0.8259 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.4675, allocations: 41.17 kB / 0.8259 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.4676, allocations: 70.61 kB / 0.826 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.4677, allocations: 350.2 kB / 0.8263 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4678, allocations: 102.6 kB / 0.8264 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.468, allocations: 132 kB / 0.8266 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.4682, allocations: 198 kB / 0.8268 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4682, allocations: 0 / 0.8268 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003322/0.4685, allocations: 324.5 kB / 0.8271 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4685, allocations: 10.2 kB / 0.8271 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4685, allocations: 0 / 0.8271 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.4685, allocations: 3.312 kB / 0.8271 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.4687, allocations: 53.3 kB / 0.8271 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4687, allocations: 1.75 kB / 0.8271 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.4688, allocations: 26.3 kB / 0.8272 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.4688, allocations: 13.03 kB / 0.8272 GB, free: 11.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.00013/0.4689, allocations: 184.3 kB / 0.8273 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.4689, allocations: 40.48 kB / 0.8274 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.4692, allocations: 189.9 kB / 0.8276 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4692, allocations: 1.375 kB / 0.8276 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4692, allocations: 1.656 kB / 0.8276 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4692, allocations: 4.562 kB / 0.8276 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4694, allocations: 278.5 kB / 0.8278 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4694, allocations: 0 / 0.8278 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.4694, allocations: 11.39 kB / 0.8278 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4695, allocations: 9.359 kB / 0.8279 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4695, allocations: 7.125 kB / 0.8279 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.4695, allocations: 5.531 kB / 0.8279 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4695, allocations: 0.75 kB / 0.8279 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.4697, allocations: 208.2 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.4697, allocations: 47.88 kB / 0.8281 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.4697, allocations: 6.109 kB / 0.8281 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.4698, allocations: 8.547 kB / 0.8281 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.4698, allocations: 16.45 kB / 0.8281 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.4699, allocations: 11.38 kB / 0.8282 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002425/0.4701, allocations: 320.8 kB / 0.8285 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4701, allocations: 0 / 0.8285 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001975/0.4703, allocations: 63.48 kB / 0.8285 GB, free: 10.59 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009546/0.4713, allocations: 1.07 MB / 0.8296 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.4715, allocations: 184.4 kB / 0.8297 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.4715, allocations: 0.9688 kB / 0.8297 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.4716, allocations: 55.77 kB / 0.8298 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4719, allocations: 89.81 kB / 0.8299 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.4749, allocations: 3.189 MB / 0.833 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.4752, allocations: 0.7929 MB / 0.8338 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.4753, allocations: 59.03 kB / 0.8338 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4754, allocations: 113.7 kB / 0.8339 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.4754, allocations: 5 kB / 0.8339 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.4959, allocations: 7.553 MB / 0.8413 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.563, allocations: 3.812 kB / 0.8413 GB, free: 4.59 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.53741094795987] Failed to read output from testmodel.py, exit status != 0: 7.6675891790073365 7.680000244 7.213557805 Calling exit ...