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.001312/0.001312, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 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.001436/0.001436, allocations: 221.7 kB / 22.25 MB, free: 5.215 MB / 14.72 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.002479/0.002479, allocations: 292 kB / 312.7 MB, free: 2.793 MB / 238.1 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 1.167/1.167, allocations: 180.6 MB / 0.5369 GB, free: 13.04 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002884/0.002884, allocations: 101.3 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1848, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6385/0.8233, allocations: 179.7 MB / 1.008 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009741/0.833, allocations: 8.846 MB / 1.017 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009267/0.8339, allocations: 31.62 kB / 1.017 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.8346, allocations: 302.4 kB / 1.017 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006734/0.8353, allocations: 323.8 kB / 1.017 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.8364, allocations: 411.6 kB / 1.018 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.8378, allocations: 1.175 MB / 1.019 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007784/0.8385, allocations: 445.9 kB / 1.019 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.8444, allocations: 2.178 MB / 1.022 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.845, allocations: 383 kB / 1.022 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.8451, allocations: 40.53 kB / 1.022 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.8454, allocations: 85.84 kB / 1.022 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.8457, allocations: 270.7 kB / 1.022 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.846, allocations: 283.8 kB / 1.023 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.8468, allocations: 0.6345 MB / 1.023 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8468, allocations: 3.875 kB / 1.023 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8468, allocations: 0 / 1.023 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.8468, allocations: 0.9375 kB / 1.023 GB, free: 3.035 MB / 0.7169 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.001226/0.848, allocations: 0.7681 MB / 1.024 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8481, allocations: 10.25 kB / 1.024 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.8482, allocations: 96.03 kB / 1.024 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.8483, allocations: 77.03 kB / 1.024 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.849, allocations: 384.3 kB / 1.025 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.849, allocations: 47.09 kB / 1.025 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.8491, allocations: 49.34 kB / 1.025 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/0.85, allocations: 0.6977 MB / 1.025 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.85, allocations: 5.656 kB / 1.025 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.8501, allocations: 20.72 kB / 1.025 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.8501, allocations: 31.27 kB / 1.025 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.8507, allocations: 382.4 kB / 1.026 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.8532, allocations: 3.157 MB / 1.029 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.8533, allocations: 217.8 kB / 1.029 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.8535, allocations: 124.7 kB / 1.029 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.8535, allocations: 7.812 kB / 1.029 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.8536, allocations: 46.33 kB / 1.029 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.8536, allocations: 0.875 kB / 1.029 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006541/0.8542, allocations: 250.7 kB / 1.029 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.8544, allocations: 291.1 kB / 1.03 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.855, allocations: 0.6912 MB / 1.03 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.8551, allocations: 25.7 kB / 1.03 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.8552, allocations: 273.2 kB / 1.031 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.8552, allocations: 36.45 kB / 1.031 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.8553, allocations: 30.33 kB / 1.031 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8555, allocations: 369.7 kB / 1.031 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.8556, allocations: 40.36 kB / 1.031 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.8557, allocations: 90.28 kB / 1.031 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.8559, allocations: 135.5 kB / 1.031 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8559, allocations: 0 / 1.031 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002968/0.8562, allocations: 191.1 kB / 1.032 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8562, allocations: 11.16 kB / 1.032 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8562, allocations: 4.562 kB / 1.032 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.8562, allocations: 3.938 kB / 1.032 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.8564, allocations: 46.86 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8564, allocations: 3.062 kB / 1.032 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.8566, allocations: 57.5 kB / 1.032 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.8566, allocations: 6.781 kB / 1.032 GB, free: 14.11 MB / 0.7325 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.0001766/0.8568, allocations: 207.5 kB / 1.032 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.857, allocations: 65.03 kB / 1.032 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.857, allocations: 58.88 kB / 1.032 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.857, allocations: 7.344 kB / 1.032 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.857, allocations: 2.656 kB / 1.032 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.857, allocations: 6.688 kB / 1.032 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.8584, allocations: 1.265 MB / 1.033 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8584, allocations: 3.219 kB / 1.033 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.8585, allocations: 46.08 kB / 1.033 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.8585, allocations: 5.25 kB / 1.033 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.8585, allocations: 2.625 kB / 1.033 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8585, allocations: 7.281 kB / 1.033 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8585, allocations: 7.219 kB / 1.033 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.8589, allocations: 336 kB / 1.034 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.859, allocations: 80.98 kB / 1.034 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.859, allocations: 8.766 kB / 1.034 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.8592, allocations: 5.938 kB / 1.034 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.8592, allocations: 19.16 kB / 1.034 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.8592, allocations: 7.219 kB / 1.034 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004368/0.8597, allocations: 0.4923 MB / 1.034 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8597, allocations: 0 / 1.034 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003781/0.86, allocations: 83.52 kB / 1.034 GB, free: 12.64 MB / 0.7325 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.0007479/0.8608, allocations: 0.8971 MB / 1.035 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.8611, allocations: 106.3 kB / 1.035 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8611, allocations: 2.594 kB / 1.035 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.8612, allocations: 58.14 kB / 1.035 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8624, allocations: 288.3 kB / 1.036 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.867, allocations: 4.449 MB / 1.04 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.8675, allocations: 0.9102 MB / 1.041 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.8678, allocations: 110 kB / 1.041 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.868, allocations: 171 kB / 1.041 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.868, allocations: 0 / 1.041 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.9091, allocations: 13.78 MB / 1.055 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.98, allocations: 9.062 kB / 1.055 GB, free: 6.488 MB / 0.7325 GB " [Timeout remaining time 648] (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: 16.01182054099627] Failed to read output from testmodel.py, exit status != 0: 12.095072417054325 12.109184165 11.259456349 Calling exit ...