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.0007984/0.0007984, 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.0008645/0.0008645, allocations: 170.3 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.8539/0.8539, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001352/0.001352, allocations: 244.2 kB / 259.4 MB, free: 13.02 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.6688/0.6688, 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.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 1.954e-06/1.954e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.042e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.3439/0.3439, allocations: 155.2 MB / 0.7979 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006279/0.3502, allocations: 7.973 MB / 0.8057 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.3507, allocations: 31.69 kB / 0.8057 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.3512, allocations: 313.7 kB / 0.806 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.3518, allocations: 342 kB / 0.8063 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.3525, allocations: 428.2 kB / 0.8067 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3536, allocations: 1.149 MB / 0.8078 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.3543, allocations: 454.2 kB / 0.8083 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004225/0.3586, allocations: 2.253 MB / 0.8105 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.359, allocations: 318.9 kB / 0.8108 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.359, allocations: 40 kB / 0.8108 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.3592, allocations: 83.95 kB / 0.8109 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3594, allocations: 283.2 kB / 0.8112 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3595, allocations: 183.5 kB / 0.8113 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.36, allocations: 0.6424 MB / 0.812 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.36, allocations: 0 / 0.812 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.953e-06/0.36, allocations: 0.6562 kB / 0.812 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.36, allocations: 0 / 0.812 GB, free: 1.348 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.0007612/0.3608, allocations: 0.7542 MB / 0.8127 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3609, allocations: 9.938 kB / 0.8127 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.3609, allocations: 94.52 kB / 0.8128 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.361, allocations: 79.45 kB / 0.8129 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.3616, allocations: 387.3 kB / 0.8133 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.3616, allocations: 37.97 kB / 0.8133 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.3616, allocations: 55.98 kB / 0.8133 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.3623, allocations: 0.7036 MB / 0.814 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3623, allocations: 0 / 0.814 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.3623, allocations: 24 kB / 0.8141 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.3624, allocations: 31.92 kB / 0.8141 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.3628, allocations: 379.4 kB / 0.8144 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3646, allocations: 3.067 MB / 0.8174 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3648, allocations: 218.1 kB / 0.8177 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3649, allocations: 124.5 kB / 0.8178 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3649, allocations: 4 kB / 0.8178 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3649, allocations: 46.5 kB / 0.8178 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3649, allocations: 4 kB / 0.8178 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004156/0.3654, allocations: 246 kB / 0.8181 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.3655, allocations: 302.7 kB / 0.8183 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.3659, allocations: 0.6839 MB / 0.819 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.366, allocations: 33.7 kB / 0.819 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3661, allocations: 264.3 kB / 0.8193 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3661, allocations: 35.69 kB / 0.8193 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3662, allocations: 33.7 kB / 0.8194 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3663, allocations: 366.8 kB / 0.8197 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.3663, allocations: 36.77 kB / 0.8197 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3665, allocations: 225.6 kB / 0.82 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.3666, allocations: 129 kB / 0.8201 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3666, allocations: 4 kB / 0.8201 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.3668, allocations: 189.1 kB / 0.8203 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3668, allocations: 4 kB / 0.8203 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3668, allocations: 1.562 kB / 0.8203 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3669, allocations: 4 kB / 0.8203 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.367, allocations: 47.89 kB / 0.8203 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.367, allocations: 3.938 kB / 0.8203 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3671, allocations: 60.02 kB / 0.8204 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3671, allocations: 8 kB / 0.8204 GB, free: 8.129 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.0001579/0.3673, allocations: 206.4 kB / 0.8206 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3674, allocations: 63.56 kB / 0.8207 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.3675, allocations: 60.27 kB / 0.8207 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3675, allocations: 3.984 kB / 0.8207 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3675, allocations: 7.938 kB / 0.8207 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3675, allocations: 4 kB / 0.8207 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3686, allocations: 1.241 MB / 0.8219 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3686, allocations: 4 kB / 0.8219 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.3687, allocations: 44.83 kB / 0.822 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3687, allocations: 2.625 kB / 0.822 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3687, allocations: 4 kB / 0.822 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3687, allocations: 7.938 kB / 0.822 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3687, allocations: 4 kB / 0.822 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3689, allocations: 339 kB / 0.8223 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.369, allocations: 79.53 kB / 0.8224 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.369, allocations: 6.062 kB / 0.8224 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.3691, allocations: 4 kB / 0.8224 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3692, allocations: 23.86 kB / 0.8224 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.3692, allocations: 7.984 kB / 0.8224 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003599/0.3695, allocations: 0.4951 MB / 0.8229 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.3695, allocations: 4 kB / 0.8229 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002696/0.3698, allocations: 83.89 kB / 0.823 GB, free: 5.324 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.0005294/0.3703, allocations: 0.8796 MB / 0.8239 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3705, allocations: 104.4 kB / 0.824 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3705, allocations: 0 / 0.824 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.3706, allocations: 63.89 kB / 0.824 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.3714, allocations: 294.4 kB / 0.8243 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.3752, allocations: 4.463 MB / 0.8287 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.3754, allocations: 317.5 kB / 0.829 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.3757, allocations: 106.8 kB / 0.8291 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3758, allocations: 172.4 kB / 0.8292 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of SimCode: time 7.92e-07/0.3758, allocations: 0 / 0.8292 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.4081, allocations: 15.27 MB / 0.8441 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.562, allocations: 11.38 kB / 0.8442 GB, free: 15.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.065278677269816] Failed to read output from testmodel.py, exit status != 0: 7.64960680808872 7.6609189220000005 7.298900978 Calling exit ...