Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7418/0.7418, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 184.9 kB / 164.7 MB, free: 6.512 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 90.03 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.915e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.136/5.283, allocations: 2.14 GB / 2.761 GB, free: 92.85 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/5.283, allocations: 84.7 kB / 2.761 GB, free: 92.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.581/6.864, allocations: 406.1 MB / 3.158 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/6.864, allocations: 0 / 3.158 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.762e-05/6.864, allocations: 21.91 kB / 3.158 GB, free: 129.1 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.001438/6.866, allocations: 0.8528 MB / 3.159 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/6.866, allocations: 10.44 kB / 3.159 GB, free: 128.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/6.866, allocations: 71.75 kB / 3.159 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/6.866, allocations: 420.8 kB / 3.159 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/6.866, allocations: 17.72 kB / 3.159 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/6.867, allocations: 33.28 kB / 3.159 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004555/6.867, allocations: 280.5 kB / 3.16 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/6.868, allocations: 0.549 MB / 3.16 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/6.868, allocations: 5.812 kB / 3.16 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/6.868, allocations: 0 / 3.16 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/6.868, allocations: 34.11 kB / 3.16 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/6.869, allocations: 2.336 MB / 3.163 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/6.87, allocations: 130.3 kB / 3.163 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/6.87, allocations: 77.52 kB / 3.163 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/6.87, allocations: 6.969 kB / 3.163 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/6.87, allocations: 37.53 kB / 3.163 GB, free: 126.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/6.87, allocations: 0 / 3.163 GB, free: 126.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002837/6.87, allocations: 118.8 kB / 3.163 GB, free: 126.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/6.87, allocations: 158 kB / 3.163 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/6.87, allocations: 216 kB / 3.163 GB, free: 126 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/6.87, allocations: 29.11 kB / 3.163 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/6.87, allocations: 297.2 kB / 3.164 GB, free: 125.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/6.87, allocations: 36.55 kB / 3.164 GB, free: 125.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/6.87, allocations: 0 / 3.164 GB, free: 125.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/6.871, allocations: 338.8 kB / 3.164 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/6.871, allocations: 21.19 kB / 3.164 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/6.871, allocations: 95.08 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/6.871, allocations: 30.42 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/6.871, allocations: 3.188 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001424/6.871, allocations: 114.9 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/6.871, allocations: 7.188 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/6.871, allocations: 1.406 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/6.871, allocations: 3.938 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/6.871, allocations: 24.52 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/6.871, allocations: 0 / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/6.871, allocations: 24.44 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/6.871, allocations: 8.625 kB / 3.164 GB, free: 125.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/6.871, allocations: 123.3 kB / 3.164 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000187/6.872, allocations: 117.4 kB / 3.164 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/6.872, allocations: 24.06 kB / 3.164 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/6.872, allocations: 25.08 kB / 3.164 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/6.872, allocations: 3.75 kB / 3.164 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/6.872, allocations: 0 / 3.164 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/6.872, allocations: 6.953 kB / 3.165 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008126/6.873, allocations: 0.8165 MB / 3.165 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/6.873, allocations: 3.75 kB / 3.165 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/6.873, allocations: 37.7 kB / 3.165 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/6.873, allocations: 2.469 kB / 3.165 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/6.873, allocations: 12.23 kB / 3.165 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/6.873, allocations: 3.188 kB / 3.165 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/6.873, allocations: 0 / 3.165 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/6.873, allocations: 365.3 kB / 3.166 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/6.873, allocations: 96.11 kB / 3.166 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/6.873, allocations: 3.688 kB / 3.166 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/6.873, allocations: 21.81 kB / 3.166 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/6.873, allocations: 10.12 kB / 3.166 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/6.873, allocations: 8.406 kB / 3.166 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001112/6.873, allocations: 180.9 kB / 3.166 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/6.873, allocations: 0 / 3.166 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006794/6.874, allocations: 208.1 kB / 3.166 GB, free: 124.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002439/6.876, allocations: 2.997 MB / 3.169 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001575/6.877, allocations: 68.19 kB / 3.169 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/6.877, allocations: 0 / 3.169 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/6.877, allocations: 43.66 kB / 3.169 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/6.877, allocations: 87.09 kB / 3.169 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/6.878, allocations: 0.7164 MB / 3.17 GB, free: 122 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/6.879, allocations: 0.9129 MB / 3.171 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001217/6.879, allocations: 53.92 kB / 3.171 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/6.879, allocations: 161.3 kB / 3.171 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/6.879, allocations: 0 / 3.171 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/6.921, allocations: 17.98 MB / 3.189 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/6.921, allocations: 178.8 kB / 3.189 GB, free: 120 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/9.481, allocations: 3.625 kB / 3.189 GB, free: 120 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)