Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0008482/0.0008482, 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.0009597/0.0009597, allocations: 222.3 kB / 22.26 MB, free: 3.691 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.032/1.032, allocations: 230.6 MB / 256 MB, free: 9.801 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.8343/0.8343, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.001342/0.001342, allocations: 65.09 kB / 0.7183 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5568, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001663/0.5585, allocations: 0.8889 MB / 0.8188 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.5597, allocations: 1.227 MB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.5598, allocations: 3.875 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.5599, allocations: 9.703 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.5599, allocations: 9.609 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.5604, allocations: 153 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.5607, allocations: 165.4 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.5608, allocations: 35.58 kB / 0.8203 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.5609, allocations: 69.92 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.5611, allocations: 73.52 kB / 0.8205 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.5611, allocations: 14.84 kB / 0.8205 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.5612, allocations: 32.52 kB / 0.8205 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.5612, allocations: 25.31 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.81e-05/0.5613, allocations: 64.25 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.5616, allocations: 166 kB / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5616, allocations: 4 kB / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5616, allocations: 4 kB / 0.8208 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.5616, allocations: 0 / 0.8208 GB, free: 15.39 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006794/0.5623, allocations: 418.5 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.5624, allocations: 8.062 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.5624, allocations: 39.72 kB / 0.8212 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.5625, allocations: 18.27 kB / 0.8212 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.5629, allocations: 189.5 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.5629, allocations: 10.89 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.5629, allocations: 13.09 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.5631, allocations: 101.7 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5631, allocations: 1.875 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.5632, allocations: 0.6562 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5632, allocations: 6.406 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.5633, allocations: 50.44 kB / 0.8216 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.564, allocations: 356.9 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.5642, allocations: 33.3 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.5642, allocations: 23.97 kB / 0.822 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.5642, allocations: 10.86 kB / 0.822 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.5645, allocations: 97.31 kB / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.5645, allocations: 0 / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003902/0.5649, allocations: 136.9 kB / 0.8222 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.565, allocations: 58.25 kB / 0.8223 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5651, allocations: 140.9 kB / 0.8224 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.5651, allocations: 33.47 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.5652, allocations: 109.8 kB / 0.8225 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.5652, allocations: 34.7 kB / 0.8226 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.5653, allocations: 43.45 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5654, allocations: 323.8 kB / 0.8229 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.5655, allocations: 52.03 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.5657, allocations: 134 kB / 0.8231 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.5659, allocations: 201 kB / 0.8233 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5659, allocations: 0 / 0.8233 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003364/0.5662, allocations: 255 kB / 0.8235 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.5663, allocations: 37.36 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5663, allocations: 2.688 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5663, allocations: 4.594 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.5664, allocations: 28.05 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.5664, allocations: 12.31 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.5666, allocations: 46.95 kB / 0.8237 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.5666, allocations: 10.12 kB / 0.8237 GB, free: 13.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001091/0.5667, allocations: 129.9 kB / 0.8238 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5667, allocations: 13.12 kB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.5668, allocations: 14.75 kB / 0.8238 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5668, allocations: 11.55 kB / 0.8238 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5668, allocations: 0 / 0.8238 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5668, allocations: 1.031 kB / 0.8238 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.5673, allocations: 363.6 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5673, allocations: 0 / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.5673, allocations: 20.39 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5673, allocations: 1.438 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5673, allocations: 2.156 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5673, allocations: 4 kB / 0.8242 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.5673, allocations: 2.234 kB / 0.8242 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.5677, allocations: 240.8 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.5677, allocations: 15.55 kB / 0.8244 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.5677, allocations: 2.266 kB / 0.8245 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.5678, allocations: 11.25 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.5678, allocations: 11.41 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5678, allocations: 4.094 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.5679, allocations: 111.1 kB / 0.8246 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5679, allocations: 0 / 0.8246 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000224/0.5681, allocations: 32.31 kB / 0.8246 GB, free: 12.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006507/0.5688, allocations: 0.7798 MB / 0.8254 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.5691, allocations: 164.4 kB / 0.8255 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5691, allocations: 5.844 kB / 0.8255 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.5692, allocations: 36.8 kB / 0.8256 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.5694, allocations: 16.52 kB / 0.8256 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.5714, allocations: 1.969 MB / 0.8275 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.5716, allocations: 0.7087 MB / 0.8282 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.511e-05/0.5717, allocations: 12.2 kB / 0.8282 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.5717, allocations: 41.88 kB / 0.8283 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.5717, allocations: 0 / 0.8283 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.5928, allocations: 3.337 MB / 0.8315 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/7.188, allocations: 10.12 kB / 0.8315 GB, free: 8.613 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_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_Reals_Validation_IntegratorWithReset.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.381723235128447] Failed to read output from testmodel.py, exit status != 0: 7.268433487042785 7.278579745 6.714928807 Calling exit ...