Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.0007772/0.0007772, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007903/0.0007903, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8791/0.8791, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5407/0.5407, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5542 GB, free: 1.664 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.179e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.66 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001571/0.001583, allocations: 1.282 MB / 0.5555 GB, free: 384 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.00337, allocations: 1.531 MB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.003403, allocations: 0 / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.003421, allocations: 0 / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.003627, allocations: 19.86 kB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.004153, allocations: 225.3 kB / 0.5572 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.004223, allocations: 23.88 kB / 0.5572 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.004263, allocations: 7.969 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.004386, allocations: 23.92 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.004439, allocations: 4 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.004453, allocations: 7.984 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.004691, allocations: 147.8 kB / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.004704, allocations: 11.98 kB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.004728, allocations: 11.92 kB / 0.5574 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.004971, allocations: 167.5 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004973, allocations: 0 / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004974, allocations: 0 / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004978, allocations: 0 / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000301/0.005279, allocations: 286.5 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.005314, allocations: 12.03 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.005351, allocations: 113.9 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.005398, allocations: 80.2 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.0055, allocations: 185 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.005537, allocations: 158.9 kB / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.005578, allocations: 154.9 kB / 0.5585 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.822e-05/0.005627, allocations: 105.3 kB / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.005647, allocations: 83.22 kB / 0.5587 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.005685, allocations: 150.6 kB / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.005716, allocations: 150.6 kB / 0.559 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.005754, allocations: 150.6 kB / 0.5591 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.005953, allocations: 433 kB / 0.5596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.006013, allocations: 169.2 kB / 0.5597 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.006038, allocations: 84.08 kB / 0.5598 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.006057, allocations: 79.28 kB / 0.5599 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.006089, allocations: 113.8 kB / 0.56 GB, free: 11.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.006089, allocations: 0 / 0.56 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.712e-05/0.006146, allocations: 29.69 kB / 0.56 GB, free: 11.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.006185, allocations: 130.7 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.006257, allocations: 101.9 kB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.006267, allocations: 29.7 kB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.006297, allocations: 84.12 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.006299, allocations: 0 / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.006325, allocations: 21.72 kB / 0.5604 GB, free: 11.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.006393, allocations: 310.8 kB / 0.5607 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.006404, allocations: 11.92 kB / 0.5607 GB, free: 10.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.955e-05/0.006453, allocations: 103.7 kB / 0.5608 GB, free: 10.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.006485, allocations: 30.56 kB / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006487, allocations: 0 / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.614e-05/0.006573, allocations: 41.89 kB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.006585, allocations: 7.938 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006589, allocations: 4.094 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.006603, allocations: 8 kB / 0.5609 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.006656, allocations: 11.92 kB / 0.5609 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006661, allocations: 0 / 0.5609 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.006748, allocations: 11.95 kB / 0.5609 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.006755, allocations: 7.938 kB / 0.5609 GB, free: 10.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.996e-05/0.006815, allocations: 189.1 kB / 0.5611 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.006848, allocations: 104.9 kB / 0.5612 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.006879, allocations: 116.1 kB / 0.5613 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/0.006914, allocations: 176.3 kB / 0.5614 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-05/0.006959, allocations: 188.2 kB / 0.5616 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-05/0.007, allocations: 180.3 kB / 0.5618 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.007128, allocations: 376.2 kB / 0.5622 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/0.007153, allocations: 109 kB / 0.5623 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.007174, allocations: 101 kB / 0.5624 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.66e-05/0.007211, allocations: 188.1 kB / 0.5625 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.007247, allocations: 180.3 kB / 0.5627 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.281e-05/0.00728, allocations: 176.3 kB / 0.5629 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.942e-05/0.007319, allocations: 192.2 kB / 0.5631 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.331e-05/0.007403, allocations: 303.8 kB / 0.5633 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.007428, allocations: 105 kB / 0.5634 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.007472, allocations: 188.2 kB / 0.5636 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.00752, allocations: 112.9 kB / 0.5637 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.007564, allocations: 176.3 kB / 0.5639 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.007587, allocations: 108.9 kB / 0.564 GB, free: 7.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.007617, allocations: 79.28 kB / 0.5641 GB, free: 7.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007617, allocations: 0 / 0.5641 GB, free: 7.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.007837, allocations: 51.8 kB / 0.5641 GB, free: 7.055 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005373/0.008374, allocations: 0.9915 MB / 0.5651 GB, free: 6.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.976e-05/0.008444, allocations: 19.94 kB / 0.5651 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.008446, allocations: 0 / 0.5651 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.008446, allocations: 0 / 0.5651 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.008713, allocations: 455.7 kB / 0.5655 GB, free: 5.625 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.009397, allocations: 1.352 MB / 0.5669 GB, free: 4.176 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.009429, allocations: 59.34 kB / 0.5669 GB, free: 4.098 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.085e-05/0.00945, allocations: 3.938 kB / 0.5669 GB, free: 4.094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.009476, allocations: 16.75 kB / 0.5669 GB, free: 4.078 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009476, allocations: 3.938 kB / 0.5669 GB, free: 4.074 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.02495, allocations: 3.277 MB / 0.5702 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.912, allocations: 9.938 kB / 0.5702 GB, free: 0.9922 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.256736571900547] Failed to read output from testmodel.py, exit status != 0: 7.032890598289669 7.041484202 7.03487132 Calling exit ...