Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0008208/0.0008208, allocations: 101.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.0009999/0.0009999, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9546/0.9546, allocations: 230.6 MB / 256 MB, free: 9.582 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.7562/0.7562, allocations: 203.8 MB / 0.5042 GB, free: 10.38 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.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001422/0.001422, allocations: 62.47 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4637, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001491/0.4651, allocations: 0.9575 MB / 0.8187 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4663, allocations: 1.352 MB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.4663, allocations: 10.66 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.851e-05/0.4664, allocations: 19.22 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.4665, allocations: 46.3 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.4671, allocations: 274.7 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.4674, allocations: 381.7 kB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.4675, allocations: 52.98 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.4676, allocations: 155.3 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4678, allocations: 119.6 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.4678, allocations: 34.97 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.4679, allocations: 48.02 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.468, allocations: 63.19 kB / 0.8212 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4681, allocations: 116.8 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.4684, allocations: 401.8 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4684, allocations: 1.031 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4684, allocations: 7.938 kB / 0.8217 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4684, allocations: 0 / 0.8217 GB, free: 14.65 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000648/0.4691, allocations: 0.5478 MB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4691, allocations: 8.938 kB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.4691, allocations: 47.28 kB / 0.8223 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.4693, allocations: 65.05 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.4699, allocations: 304.9 kB / 0.8226 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.4699, allocations: 14.06 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.4699, allocations: 20.14 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.4702, allocations: 212.1 kB / 0.8229 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4702, allocations: 5.094 kB / 0.8229 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4702, allocations: 6.031 kB / 0.8229 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4702, allocations: 4.156 kB / 0.8229 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.4705, allocations: 147.4 kB / 0.823 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.4712, allocations: 0.8229 MB / 0.8238 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4714, allocations: 151.4 kB / 0.824 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.4716, allocations: 81.09 kB / 0.8241 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.4716, allocations: 2.812 kB / 0.8241 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.4718, allocations: 166.9 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.4718, allocations: 1.062 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005088/0.4723, allocations: 266.8 kB / 0.8245 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4724, allocations: 162.5 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.4725, allocations: 223 kB / 0.8248 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.4726, allocations: 34.14 kB / 0.8249 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.473e-05/0.4727, allocations: 153.3 kB / 0.825 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.4727, allocations: 35.89 kB / 0.8251 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.4728, allocations: 54.95 kB / 0.8251 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.4728, allocations: 334.3 kB / 0.8254 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.4731, allocations: 160.6 kB / 0.8256 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.4733, allocations: 294 kB / 0.8259 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.4736, allocations: 274.1 kB / 0.8261 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4736, allocations: 0 / 0.8261 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005219/0.4742, allocations: 441.9 kB / 0.8265 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.4742, allocations: 63.5 kB / 0.8266 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4742, allocations: 2.625 kB / 0.8266 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4742, allocations: 2.5 kB / 0.8266 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.4743, allocations: 29.81 kB / 0.8266 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4743, allocations: 3.328 kB / 0.8266 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.4745, allocations: 72.19 kB / 0.8267 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.4746, allocations: 12.88 kB / 0.8267 GB, free: 10.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.000107/0.4747, allocations: 161.9 kB / 0.8269 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.4747, allocations: 20.08 kB / 0.8269 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.4747, allocations: 24.84 kB / 0.8269 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4747, allocations: 1.625 kB / 0.8269 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4747, allocations: 9.281 kB / 0.8269 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4748, allocations: 1.625 kB / 0.8269 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.4749, allocations: 217 kB / 0.8271 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4749, allocations: 1.469 kB / 0.8271 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.475, allocations: 24.31 kB / 0.8272 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.475, allocations: 5.125 kB / 0.8272 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.475, allocations: 8.281 kB / 0.8272 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.475, allocations: 1.906 kB / 0.8272 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.475, allocations: 1.25 kB / 0.8272 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.4753, allocations: 239 kB / 0.8274 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.4753, allocations: 23.89 kB / 0.8274 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4753, allocations: 6.312 kB / 0.8274 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.4754, allocations: 16.97 kB / 0.8275 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.4755, allocations: 21.06 kB / 0.8275 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.4755, allocations: 12.62 kB / 0.8275 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001046/0.4756, allocations: 158 kB / 0.8276 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4756, allocations: 1.094 kB / 0.8276 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001951/0.4758, allocations: 56.22 kB / 0.8277 GB, free: 10.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0005099/0.4763, allocations: 0.7801 MB / 0.8285 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.4768, allocations: 378.1 kB / 0.8288 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4768, allocations: 64 / 0.8288 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.4769, allocations: 75.47 kB / 0.8289 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.4771, allocations: 59.64 kB / 0.8289 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.4798, allocations: 2.82 MB / 0.8317 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4799, allocations: 134.2 kB / 0.8318 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.48, allocations: 37.61 kB / 0.8319 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.4801, allocations: 68.55 kB / 0.8319 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.4801, allocations: 0.6562 kB / 0.8319 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.4976, allocations: 6.091 MB / 0.8379 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/7.255, allocations: 11.06 kB / 0.8379 GB, free: 5.184 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_Routing_Validation_RealExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.162321703974158] Failed to read output from testmodel.py, exit status != 0: 7.3362198933027685 7.351672327 6.880845175 Calling exit ...