Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0009197/0.0009197, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001079/0.001079, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8885/0.8885, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7249/0.7249, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Logical.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.294e-05, allocations: 6.172 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001751/0.001774, allocations: 0.7109 MB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003154, allocations: 1.186 MB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.003196, allocations: 0 / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.003223, allocations: 7.875 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.003285, allocations: 7.938 kB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.003686, allocations: 142.4 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.003828, allocations: 115.8 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.003926, allocations: 19.97 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.004026, allocations: 71.81 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.004099, allocations: 35.94 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.00412, allocations: 8 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.004173, allocations: 27.98 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.004192, allocations: 7.938 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.004238, allocations: 35.95 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.00439, allocations: 131.7 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004392, allocations: 0 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004393, allocations: 0 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004397, allocations: 0 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004262/0.004824, allocations: 335.8 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.004861, allocations: 9.469 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.004887, allocations: 38.75 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.004921, allocations: 8.891 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.069e-05/0.004991, allocations: 113.8 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.005003, allocations: 4.375 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.005021, allocations: 20.25 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.005141, allocations: 58.22 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.005148, allocations: 192 / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.005157, allocations: 8.375 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005162, allocations: 4.125 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.005253, allocations: 39.95 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.005602, allocations: 275.9 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.005711, allocations: 58.55 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.005763, allocations: 36.95 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.005774, allocations: 7.938 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.00593, allocations: 87.42 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.005931, allocations: 0 / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002562/0.006188, allocations: 141.5 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.00622, allocations: 55.41 kB / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.006282, allocations: 125.8 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.006299, allocations: 29.7 kB / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.00634, allocations: 96.03 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.006356, allocations: 19.89 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.006404, allocations: 41.69 kB / 0.622 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.006476, allocations: 318.8 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.006579, allocations: 81.66 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.006685, allocations: 114 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.006845, allocations: 150.1 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.006848, allocations: 4 kB / 0.6227 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002611/0.007109, allocations: 240.8 kB / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.007134, allocations: 29.7 kB / 0.6229 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007139, allocations: 8.125 kB / 0.6229 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.007149, allocations: 0 / 0.6229 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.007207, allocations: 19.86 kB / 0.623 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.007214, allocations: 4 kB / 0.623 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.007317, allocations: 35.95 kB / 0.623 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.00733, allocations: 4 kB / 0.623 GB, free: 8.273 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7.155e-05/0.007401, allocations: 126.8 kB / 0.6231 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.007412, allocations: 15.89 kB / 0.6231 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.007435, allocations: 8.438 kB / 0.6231 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007438, allocations: 4 kB / 0.6231 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.007443, allocations: 0 / 0.6231 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007446, allocations: 0 / 0.6231 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.007727, allocations: 341.5 kB / 0.6235 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.00773, allocations: 3.984 kB / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.007756, allocations: 12.06 kB / 0.6235 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.007758, allocations: 0 / 0.6235 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.007766, allocations: 8 kB / 0.6235 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007767, allocations: 3.984 kB / 0.6235 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007768, allocations: 4 kB / 0.6235 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.007923, allocations: 207.4 kB / 0.6237 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.007931, allocations: 7.953 kB / 0.6237 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.007942, allocations: 0 / 0.6237 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.007985, allocations: 11.98 kB / 0.6237 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.008016, allocations: 7.984 kB / 0.6237 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.008022, allocations: 7.984 kB / 0.6237 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.008053, allocations: 91.28 kB / 0.6238 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008053, allocations: 0 / 0.6238 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001739/0.008227, allocations: 27.98 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003538/0.008581, allocations: 0.7435 MB / 0.6246 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.008814, allocations: 193 kB / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008816, allocations: 0 / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.008876, allocations: 35.97 kB / 0.6248 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.009063, allocations: 23.86 kB / 0.6248 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.01036, allocations: 1.811 MB / 0.6266 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.01041, allocations: 75.33 kB / 0.6267 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.01043, allocations: 4 kB / 0.6267 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.01047, allocations: 20.5 kB / 0.6267 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.01047, allocations: 0 / 0.6267 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.02636, allocations: 3.338 MB / 0.6299 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/6.971, allocations: 8.906 kB / 0.63 GB, free: 1.066 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.728379491716623] Failed to read output from testmodel.py, exit status != 0: 7.053844812326133 7.063791349 7.057588087 Calling exit ...