Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.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.0007439/0.0007439, 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.0007404/0.0007404, allocations: 165.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 0.8753/0.8753, 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.002131/0.002131, allocations: 241.5 kB / 259.4 MB, free: 13.03 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.654/0.654, allocations: 138.4 MB / 454.3 MB, free: 30.04 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.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6463 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.752e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.3385/0.3386, allocations: 155.2 MB / 0.7979 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006259/0.3448, allocations: 7.973 MB / 0.8057 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.3452, allocations: 31.75 kB / 0.8057 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.3457, allocations: 317.6 kB / 0.806 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.3463, allocations: 334.1 kB / 0.8063 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.347, allocations: 429.5 kB / 0.8067 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007748/0.3478, allocations: 1.149 MB / 0.8078 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.3483, allocations: 450.5 kB / 0.8083 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.3511, allocations: 2.249 MB / 0.8105 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3513, allocations: 326.9 kB / 0.8108 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.3514, allocations: 40 kB / 0.8108 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.3517, allocations: 83.89 kB / 0.8109 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3519, allocations: 279.2 kB / 0.8112 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.352, allocations: 187.5 kB / 0.8113 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.3525, allocations: 0.6346 MB / 0.812 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3525, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3525, allocations: 0.6562 kB / 0.812 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3525, allocations: 4 kB / 0.812 GB, free: 1.445 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0006486/0.3531, allocations: 0.7542 MB / 0.8127 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3532, allocations: 9.938 kB / 0.8127 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.3532, allocations: 94.52 kB / 0.8128 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.3533, allocations: 71.52 kB / 0.8129 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.3537, allocations: 383.2 kB / 0.8132 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3538, allocations: 53.88 kB / 0.8133 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.3538, allocations: 52.05 kB / 0.8133 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.3544, allocations: 0.7074 MB / 0.814 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3544, allocations: 7.938 kB / 0.814 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.3545, allocations: 20 kB / 0.8141 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.3545, allocations: 27.98 kB / 0.8141 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.3549, allocations: 379.3 kB / 0.8144 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.3564, allocations: 3.067 MB / 0.8174 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3566, allocations: 214.1 kB / 0.8176 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.3569, allocations: 128.5 kB / 0.8178 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3569, allocations: 4 kB / 0.8178 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.357, allocations: 46.5 kB / 0.8178 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.357, allocations: 0 / 0.8178 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003875/0.3574, allocations: 257.7 kB / 0.8181 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.3574, allocations: 294.7 kB / 0.8183 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.3579, allocations: 0.6839 MB / 0.819 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3579, allocations: 29.7 kB / 0.819 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3581, allocations: 264.3 kB / 0.8193 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3581, allocations: 35.69 kB / 0.8193 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3581, allocations: 34.11 kB / 0.8194 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.3582, allocations: 374.7 kB / 0.8197 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.3583, allocations: 31.97 kB / 0.8197 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3584, allocations: 225.6 kB / 0.82 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3585, allocations: 129 kB / 0.8201 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3585, allocations: 0 / 0.8201 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.3587, allocations: 189.1 kB / 0.8203 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3587, allocations: 4 kB / 0.8203 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3587, allocations: 4 kB / 0.8203 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3588, allocations: 192 / 0.8203 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3589, allocations: 55.83 kB / 0.8203 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3589, allocations: 0 / 0.8203 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.359, allocations: 60.88 kB / 0.8204 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.359, allocations: 4 kB / 0.8204 GB, free: 8.227 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001347/0.3592, allocations: 206.4 kB / 0.8206 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3593, allocations: 63.62 kB / 0.8206 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.3593, allocations: 56.27 kB / 0.8207 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3593, allocations: 8 kB / 0.8207 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3593, allocations: 7.875 kB / 0.8207 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3593, allocations: 7.984 kB / 0.8207 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/0.3603, allocations: 1.23 MB / 0.8219 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3603, allocations: 7.938 kB / 0.8219 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3604, allocations: 48.17 kB / 0.822 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3604, allocations: 6.625 kB / 0.822 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3604, allocations: 6.25 kB / 0.822 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3604, allocations: 4 kB / 0.822 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3604, allocations: 4 kB / 0.822 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3606, allocations: 338.6 kB / 0.8223 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.3607, allocations: 75.55 kB / 0.8224 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3608, allocations: 11.98 kB / 0.8224 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.3609, allocations: 4 kB / 0.8224 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3609, allocations: 19.92 kB / 0.8224 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.3609, allocations: 4 kB / 0.8224 GB, free: 6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003576/0.3612, allocations: 0.499 MB / 0.8229 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.3612, allocations: 0 / 0.8229 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002392/0.3615, allocations: 83.89 kB / 0.823 GB, free: 5.426 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0004695/0.362, allocations: 0.8856 MB / 0.8239 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3621, allocations: 104.4 kB / 0.824 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3621, allocations: 0 / 0.824 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.236e-05/0.3622, allocations: 68.77 kB / 0.824 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.3629, allocations: 283.4 kB / 0.8243 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.3668, allocations: 4.469 MB / 0.8287 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.3669, allocations: 305.5 kB / 0.829 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.3671, allocations: 104.6 kB / 0.8291 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3672, allocations: 176.4 kB / 0.8292 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of SimCode: time 5.11e-07/0.3672, allocations: 4 kB / 0.8292 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3905, allocations: 15.28 MB / 0.8441 GB, free: 0 / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.479, allocations: 7.484 kB / 0.8442 GB, free: 15.99 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.044815042987466] Failed to read output from testmodel.py, exit status != 0: 7.566216283477843 7.574791224 7.220348642 Calling exit ...