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.0008744/0.0008744, allocations: 72.5 kB / 19.92 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.0009766/0.0009766, allocations: 173.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.9661/0.9661, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5937/0.5937, allocations: 114 MB / 373.9 MB, free: 8.707 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 2.054e-06/2.054e-06, allocations: 0 / 0.5542 GB, free: 1.688 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.547e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.684 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002517/0.002543, allocations: 1.291 MB / 0.5555 GB, free: 396 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.004379, allocations: 1.531 MB / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.004428, allocations: 4 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.004453, allocations: 0 / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.004717, allocations: 7.938 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.005266, allocations: 227 kB / 0.5572 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.005347, allocations: 23.92 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.005396, allocations: 0 / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.005567, allocations: 31.84 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.005625, allocations: 7.984 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.005639, allocations: 4 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.005864, allocations: 151.7 kB / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.005877, allocations: 4 kB / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.005898, allocations: 8 kB / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.006142, allocations: 175.5 kB / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.006145, allocations: 0 / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006145, allocations: 0 / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.006149, allocations: 0 / 0.5576 GB, free: 14.22 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.000329/0.006478, allocations: 286 kB / 0.5578 GB, free: 13.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.006523, allocations: 12.03 kB / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.006584, allocations: 110 kB / 0.558 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.006647, allocations: 76.22 kB / 0.558 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.006789, allocations: 189 kB / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.006835, allocations: 150.9 kB / 0.5584 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.006883, allocations: 154.9 kB / 0.5585 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/0.006973, allocations: 113.3 kB / 0.5586 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.007003, allocations: 75.28 kB / 0.5587 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.007043, allocations: 162.4 kB / 0.5588 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.00708, allocations: 154.5 kB / 0.559 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.007124, allocations: 150.6 kB / 0.5591 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.007432, allocations: 429 kB / 0.5595 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.229e-05/0.007514, allocations: 169.2 kB / 0.5597 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.007544, allocations: 84.08 kB / 0.5598 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.00757, allocations: 79.28 kB / 0.5599 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.00761, allocations: 113.8 kB / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.00761, allocations: 4 kB / 0.56 GB, free: 11.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.312e-05/0.007684, allocations: 25.7 kB / 0.56 GB, free: 11.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.007737, allocations: 130.7 kB / 0.5601 GB, free: 11.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.007836, allocations: 105.8 kB / 0.5602 GB, free: 11.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.007852, allocations: 29.7 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.007889, allocations: 84.14 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.007891, allocations: 0 / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.007922, allocations: 21.7 kB / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.008011, allocations: 314.8 kB / 0.5607 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.008023, allocations: 3.938 kB / 0.5607 GB, free: 10.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.008086, allocations: 103.7 kB / 0.5608 GB, free: 10.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.008124, allocations: 30.58 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008126, allocations: 0 / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001045/0.008231, allocations: 49.62 kB / 0.5608 GB, free: 10.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008245, allocations: 9.188 kB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.008251, allocations: 4 kB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.008262, allocations: 0 / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.008329, allocations: 7.938 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.008337, allocations: 8.078 kB / 0.5609 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.008433, allocations: 7.953 kB / 0.5609 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.008443, allocations: 4 kB / 0.5609 GB, free: 10.6 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 7.77e-05/0.00852, allocations: 189.1 kB / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.526e-05/0.008566, allocations: 108.9 kB / 0.5612 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.008719, allocations: 112.1 kB / 0.5613 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/0.00877, allocations: 176.3 kB / 0.5614 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-05/0.008839, allocations: 180.2 kB / 0.5616 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/0.008893, allocations: 180.3 kB / 0.5618 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.009061, allocations: 384.2 kB / 0.5621 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/0.00909, allocations: 104.9 kB / 0.5622 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.00912, allocations: 105 kB / 0.5623 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-05/0.009168, allocations: 188.1 kB / 0.5625 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.009218, allocations: 180.3 kB / 0.5627 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.927e-05/0.009267, allocations: 176.3 kB / 0.5629 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.727e-05/0.009314, allocations: 184.2 kB / 0.563 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.00942, allocations: 311.8 kB / 0.5633 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.009451, allocations: 105.1 kB / 0.5634 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.009504, allocations: 184.2 kB / 0.5636 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.009561, allocations: 104.9 kB / 0.5637 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.009609, allocations: 188.2 kB / 0.5639 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.009639, allocations: 109.2 kB / 0.564 GB, free: 7.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.121e-05/0.00968, allocations: 87.28 kB / 0.5641 GB, free: 7.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00968, allocations: 0 / 0.5641 GB, free: 7.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.009928, allocations: 51.8 kB / 0.5641 GB, free: 7.066 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.000972/0.0109, allocations: 0.9914 MB / 0.5651 GB, free: 6.105 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.26e-05/0.01099, allocations: 15.94 kB / 0.5651 GB, free: 6.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01099, allocations: 192 / 0.5651 GB, free: 6.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.011, allocations: 4 kB / 0.5651 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01125, allocations: 459.7 kB / 0.5655 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.01211, allocations: 1.345 MB / 0.5669 GB, free: 4.191 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.01216, allocations: 63.34 kB / 0.5669 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.01219, allocations: 0 / 0.5669 GB, free: 4.109 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.01224, allocations: 12.5 kB / 0.5669 GB, free: 4.098 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01224, allocations: 0 / 0.5669 GB, free: 4.098 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.03012, allocations: 3.288 MB / 0.5701 GB, free: 1.012 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.822, allocations: 5.969 kB / 0.5702 GB, free: 1.012 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.58442313876003] Failed to read output from testmodel.py, exit status != 0: 6.93819282669574 6.945361153 6.937556932 Calling exit ...