Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001025/0.001025, 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.0009532/0.0009532, 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 1.104/1.104, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002176/0.002176, allocations: 225.5 kB / 259.4 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8401/0.8401, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.013e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002176/0.002197, allocations: 1.697 MB / 0.648 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.4603/0.4625, allocations: 1.361 MB / 0.6493 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.4627, allocations: 1.031 kB / 0.6493 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.463, allocations: 29.88 kB / 0.6493 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.4636, allocations: 116.3 kB / 0.6494 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.4639, allocations: 145.8 kB / 0.6496 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.4645, allocations: 263.5 kB / 0.6498 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.4647, allocations: 15.09 kB / 0.6498 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.4649, allocations: 122.3 kB / 0.6499 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.4651, allocations: 82.39 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.4651, allocations: 21.22 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.4654, allocations: 126.1 kB / 0.6502 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.4655, allocations: 83.23 kB / 0.6502 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.4657, allocations: 73.22 kB / 0.6503 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.4664, allocations: 358.4 kB / 0.6507 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4664, allocations: 1.281 kB / 0.6507 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.947e-06/0.4664, allocations: 2.656 kB / 0.6507 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4664, allocations: 0 / 0.6507 GB, free: 55.58 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007693/0.4672, allocations: 0.4899 MB / 0.6511 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.725e-05/0.4673, allocations: 10.53 kB / 0.6511 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.121e-05/0.4674, allocations: 54.25 kB / 0.6512 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.4675, allocations: 30.12 kB / 0.6512 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.4678, allocations: 219.8 kB / 0.6514 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.4679, allocations: 12.91 kB / 0.6515 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.4679, allocations: 14.41 kB / 0.6515 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.4684, allocations: 324.3 kB / 0.6518 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4684, allocations: 1.344 kB / 0.6518 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4684, allocations: 10.31 kB / 0.6518 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4684, allocations: 5.156 kB / 0.6518 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.4692, allocations: 0.6863 MB / 0.6525 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.4704, allocations: 0.5157 MB / 0.653 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.4708, allocations: 206.5 kB / 0.6532 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.4709, allocations: 92.03 kB / 0.6532 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.4709, allocations: 14.66 kB / 0.6533 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005798/0.4715, allocations: 202.8 kB / 0.6535 GB, free: 54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 6.893e-06/0.4715, allocations: 0 / 0.6535 GB, free: 54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.0006468/0.4722, allocations: 371.2 kB / 0.6538 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.4722, allocations: 136 kB / 0.6539 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.4725, allocations: 317.5 kB / 0.6542 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4726, allocations: 32.7 kB / 0.6543 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.4726, allocations: 129.2 kB / 0.6544 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.4727, allocations: 121 kB / 0.6545 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.4728, allocations: 61.52 kB / 0.6546 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.4728, allocations: 342.8 kB / 0.6549 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.473, allocations: 84.28 kB / 0.655 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.4732, allocations: 203.1 kB / 0.6552 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.4734, allocations: 208.8 kB / 0.6554 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4734, allocations: 0 / 0.6554 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000395/0.4738, allocations: 279.1 kB / 0.6556 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.4738, allocations: 5.344 kB / 0.6556 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4738, allocations: 0 / 0.6556 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4739, allocations: 4.562 kB / 0.6556 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.474, allocations: 63.22 kB / 0.6557 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.474, allocations: 0 / 0.6557 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.4741, allocations: 24.33 kB / 0.6557 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.4742, allocations: 13.7 kB / 0.6557 GB, free: 52.54 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 0.0001413/0.4743, allocations: 169.8 kB / 0.6559 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.4743, allocations: 29.73 kB / 0.6559 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007029/0.4751, allocations: 375.2 kB / 0.6563 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4751, allocations: 4.781 kB / 0.6563 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4751, allocations: 0 / 0.6563 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4751, allocations: 1.688 kB / 0.6563 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.4753, allocations: 281.6 kB / 0.6566 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4753, allocations: 0 / 0.6566 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4755, allocations: 57.27 kB / 0.6566 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.4755, allocations: 2.25 kB / 0.6566 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4755, allocations: 10.56 kB / 0.6566 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4755, allocations: 0 / 0.6566 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4755, allocations: 2.094 kB / 0.6566 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.4759, allocations: 322 kB / 0.6569 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.476, allocations: 72.84 kB / 0.657 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.4761, allocations: 5.312 kB / 0.657 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.4762, allocations: 21.2 kB / 0.657 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.4763, allocations: 21.36 kB / 0.6571 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.4764, allocations: 15.09 kB / 0.6571 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002279/0.4766, allocations: 245.8 kB / 0.6573 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4766, allocations: 0.9062 kB / 0.6573 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003188/0.4769, allocations: 76.77 kB / 0.6574 GB, free: 51.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001689/0.4786, allocations: 1.246 MB / 0.6586 GB, free: 50.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.4791, allocations: 211.6 kB / 0.6588 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4791, allocations: 0 / 0.6588 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.4792, allocations: 121.3 kB / 0.6589 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.4795, allocations: 37.22 kB / 0.659 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.4826, allocations: 2.504 MB / 0.6614 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.4828, allocations: 150.6 kB / 0.6615 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.483, allocations: 147.2 kB / 0.6617 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4831, allocations: 95.2 kB / 0.6618 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/0.4831, allocations: 0 / 0.6618 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.5197, allocations: 6.818 MB / 0.6684 GB, free: 47.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.771, allocations: 10.5 kB / 0.6684 GB, free: 47.44 MB / 0.5573 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.363453149795532] Failed to read output from testmodel.py, exit status != 0: 8.90723049081862 8.922164748 8.451020681 Calling exit ...