Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0007733/0.0007733, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.000752/0.000752, allocations: 162 kB / 22.43 MB, free: 2.145 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.9271/0.9271, allocations: 177.2 MB / 202.8 MB, free: 5.793 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.6854/0.6854, allocations: 155 MB / 414.2 MB, free: 484 kB / 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.Routing.Validation.RealExtractor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.001265/0.001265, allocations: 67.89 kB / 0.6187 GB, free: 13.26 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4676, allocations: 102 MB / 0.7183 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002093/0.4697, allocations: 1.234 MB / 0.7195 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.4712, allocations: 1.584 MB / 0.721 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.4714, allocations: 2.781 kB / 0.721 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.4715, allocations: 34.11 kB / 0.721 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.4716, allocations: 79.42 kB / 0.7211 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.4726, allocations: 0.4935 MB / 0.7216 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.4732, allocations: 0.6554 MB / 0.7222 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.4735, allocations: 109.1 kB / 0.7223 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.4738, allocations: 381.7 kB / 0.7227 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.4741, allocations: 214.5 kB / 0.7229 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.038e-05/0.4742, allocations: 64.84 kB / 0.723 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.4743, allocations: 73.94 kB / 0.723 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.4744, allocations: 85.36 kB / 0.7231 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.4746, allocations: 214.4 kB / 0.7233 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.4755, allocations: 0.7886 MB / 0.7241 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4755, allocations: 5.156 kB / 0.7241 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.925e-06/0.4755, allocations: 0.7031 kB / 0.7241 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.4755, allocations: 0 / 0.7241 GB, free: 19.67 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001024/0.4765, allocations: 0.8752 MB / 0.725 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4766, allocations: 11.3 kB / 0.725 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.4766, allocations: 59.17 kB / 0.725 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.4767, allocations: 58.27 kB / 0.7251 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/0.4775, allocations: 411.3 kB / 0.7255 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.4775, allocations: 28.88 kB / 0.7255 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.4775, allocations: 40.38 kB / 0.7255 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.478, allocations: 465.8 kB / 0.726 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.478, allocations: 0 / 0.726 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.478, allocations: 9.5 kB / 0.726 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/0.4781, allocations: 5.641 kB / 0.726 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.4785, allocations: 390.7 kB / 0.7264 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4795, allocations: 0.7778 MB / 0.7271 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.48, allocations: 487.5 kB / 0.7276 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.4803, allocations: 387.6 kB / 0.728 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.4803, allocations: 7.078 kB / 0.728 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.4807, allocations: 462.3 kB / 0.7284 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.4807, allocations: 0 / 0.7284 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001001/0.4817, allocations: 1.104 MB / 0.7295 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.4817, allocations: 193.1 kB / 0.7297 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.4819, allocations: 291 kB / 0.7299 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.482, allocations: 44.16 kB / 0.73 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.4821, allocations: 170.5 kB / 0.7302 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.4821, allocations: 136.4 kB / 0.7303 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4823, allocations: 133 kB / 0.7304 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.4823, allocations: 347 kB / 0.7307 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.4827, allocations: 0.5299 MB / 0.7313 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.4832, allocations: 0.6032 MB / 0.7318 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.4838, allocations: 0.9183 MB / 0.7327 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4838, allocations: 1.375 kB / 0.7327 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00103/0.4848, allocations: 1.266 MB / 0.734 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.4849, allocations: 261.5 kB / 0.7342 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4849, allocations: 10.58 kB / 0.7342 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4849, allocations: 4.609 kB / 0.7342 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.4851, allocations: 63.61 kB / 0.7343 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.006e-06/0.4851, allocations: 4.969 kB / 0.7343 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.4855, allocations: 150.9 kB / 0.7345 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/0.4855, allocations: 68.95 kB / 0.7345 GB, free: 12.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001473/0.4857, allocations: 320.6 kB / 0.7348 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.4857, allocations: 40.73 kB / 0.7349 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.4858, allocations: 42.22 kB / 0.7349 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4858, allocations: 4 kB / 0.7349 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4858, allocations: 0.6562 kB / 0.7349 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4858, allocations: 3.641 kB / 0.7349 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4868, allocations: 1.259 MB / 0.7361 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4868, allocations: 0 / 0.7361 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.487, allocations: 70.94 kB / 0.7362 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.487, allocations: 2.625 kB / 0.7362 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.487, allocations: 15.48 kB / 0.7362 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.487, allocations: 5.5 kB / 0.7362 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.487, allocations: 2.078 kB / 0.7362 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.4877, allocations: 0.9008 MB / 0.7371 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.4877, allocations: 42.78 kB / 0.7372 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.4878, allocations: 13.98 kB / 0.7372 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4879, allocations: 30.22 kB / 0.7372 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.488, allocations: 36.06 kB / 0.7372 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.488, allocations: 51.06 kB / 0.7373 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001294/0.4882, allocations: 198.4 kB / 0.7375 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4882, allocations: 0 / 0.7375 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002884/0.4884, allocations: 107.6 kB / 0.7376 GB, free: 10.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0008269/0.4893, allocations: 1.466 MB / 0.739 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009303/0.4902, allocations: 1.434 MB / 0.7404 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4902, allocations: 4.062 kB / 0.7404 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.4906, allocations: 0.6197 MB / 0.741 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4909, allocations: 90.05 kB / 0.7411 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.4957, allocations: 5.843 MB / 0.7468 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.4959, allocations: 188.3 kB / 0.747 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000199/0.4961, allocations: 92.14 kB / 0.7471 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4962, allocations: 120.2 kB / 0.7472 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of SimCode: time 8.02e-07/0.4962, allocations: 4 kB / 0.7472 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.5219, allocations: 11.22 MB / 0.7582 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/7.186, allocations: 2.656 kB / 0.7582 GB, free: 15.79 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.894916119985282] Failed to read output from testmodel.py, exit status != 0: 7.267229755874723 7.277747099 6.800153006 Calling exit ...