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.7762/0.7762, allocations: 128.7 MB / 143.7 MB, free: 2.293 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.001133/0.001133, allocations: 176.4 kB / 173.7 MB, free: 6.125 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.914/1.914, allocations: 205.4 MB / 409 MB, free: 10.5 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.001095/0.001095, allocations: 89.06 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 9.469 kB / 0.5604 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 76.78 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/5.608, allocations: 2.14 GB / 2.776 GB, free: 236.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/5.608, allocations: 90.66 kB / 2.776 GB, free: 236.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.128/6.737, allocations: 412 MB / 3.178 GB, free: 78.04 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/6.737, allocations: 0 / 3.178 GB, free: 78.04 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.477e-05/6.737, allocations: 20 kB / 3.178 GB, free: 78.02 MB / 0.6511 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.001503/6.738, allocations: 0.8895 MB / 3.179 GB, free: 77.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/6.738, allocations: 12.03 kB / 3.179 GB, free: 77.08 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.218e-05/6.738, allocations: 94.52 kB / 3.179 GB, free: 76.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/6.738, allocations: 71.19 kB / 3.179 GB, free: 76.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/6.739, allocations: 428.3 kB / 3.179 GB, free: 76.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/6.739, allocations: 49.28 kB / 3.18 GB, free: 76.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/6.739, allocations: 52 kB / 3.18 GB, free: 76.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/6.74, allocations: 0.6336 MB / 3.18 GB, free: 75.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/6.74, allocations: 7.984 kB / 3.18 GB, free: 75.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/6.74, allocations: 20 kB / 3.18 GB, free: 75.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/6.74, allocations: 27.98 kB / 3.18 GB, free: 75.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/6.741, allocations: 371.5 kB / 3.181 GB, free: 75.24 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/6.742, allocations: 2.562 MB / 3.183 GB, free: 72.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/6.742, allocations: 149.2 kB / 3.183 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/6.742, allocations: 0 / 3.183 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/6.742, allocations: 50.5 kB / 3.183 GB, free: 72.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/6.742, allocations: 0 / 3.183 GB, free: 72.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0005086/6.743, allocations: 237.2 kB / 3.183 GB, free: 72.08 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/6.743, allocations: 154.2 kB / 3.184 GB, free: 71.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/6.744, allocations: 0.6127 MB / 3.184 GB, free: 71.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/6.744, allocations: 25.7 kB / 3.184 GB, free: 71.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/6.744, allocations: 268.6 kB / 3.185 GB, free: 70.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/6.744, allocations: 35.7 kB / 3.185 GB, free: 70.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/6.744, allocations: 0 / 3.185 GB, free: 70.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/6.744, allocations: 366.8 kB / 3.185 GB, free: 70.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/6.744, allocations: 39.91 kB / 3.185 GB, free: 70.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/6.744, allocations: 111.7 kB / 3.185 GB, free: 70.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/6.744, allocations: 58.98 kB / 3.185 GB, free: 70.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/6.744, allocations: 0 / 3.185 GB, free: 70.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002726/6.745, allocations: 193 kB / 3.185 GB, free: 70.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/6.745, allocations: 8 kB / 3.185 GB, free: 70.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/6.745, allocations: 0 / 3.185 GB, free: 70.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/6.745, allocations: 4 kB / 3.185 GB, free: 70.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/6.745, allocations: 23.92 kB / 3.185 GB, free: 70.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/6.745, allocations: 0 / 3.185 GB, free: 70.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/6.745, allocations: 71.3 kB / 3.185 GB, free: 70.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/6.745, allocations: 15.98 kB / 3.185 GB, free: 70.03 MB / 0.6511 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 () * Number of clocked 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 0.000165/6.745, allocations: 193.8 kB / 3.186 GB, free: 69.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/6.745, allocations: 59.48 kB / 3.186 GB, free: 69.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/6.745, allocations: 60.31 kB / 3.186 GB, free: 69.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/6.745, allocations: 7.938 kB / 3.186 GB, free: 69.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/6.745, allocations: 0 / 3.186 GB, free: 69.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/6.745, allocations: 0 / 3.186 GB, free: 69.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008504/6.746, allocations: 0.9086 MB / 3.187 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/6.746, allocations: 4 kB / 3.187 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/6.746, allocations: 24.23 kB / 3.187 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/6.746, allocations: 4 kB / 3.187 GB, free: 68.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/6.746, allocations: 11.98 kB / 3.187 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/6.746, allocations: 7.938 kB / 3.187 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/6.746, allocations: 0 / 3.187 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/6.747, allocations: 431.2 kB / 3.187 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/6.747, allocations: 136.3 kB / 3.187 GB, free: 67.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/6.747, allocations: 19.94 kB / 3.187 GB, free: 67.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/6.747, allocations: 15.98 kB / 3.187 GB, free: 67.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/6.747, allocations: 11.92 kB / 3.187 GB, free: 67.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/6.747, allocations: 8 kB / 3.187 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004104/6.748, allocations: 0.4912 MB / 3.188 GB, free: 67.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/6.748, allocations: 0 / 3.188 GB, free: 67.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008606/6.748, allocations: 216.1 kB / 3.188 GB, free: 67.23 MB / 0.6511 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 () * Number of clocked 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.00232/6.751, allocations: 2.878 MB / 3.191 GB, free: 64.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002766/6.751, allocations: 111.8 kB / 3.191 GB, free: 64.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/6.751, allocations: 0 / 3.191 GB, free: 64.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/6.751, allocations: 68.66 kB / 3.191 GB, free: 64.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/6.752, allocations: 275.9 kB / 3.191 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/6.756, allocations: 3.606 MB / 3.195 GB, free: 60.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/6.756, allocations: 0.9169 MB / 3.196 GB, free: 59.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002523/6.756, allocations: 96.62 kB / 3.196 GB, free: 59.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/6.756, allocations: 179.4 kB / 3.196 GB, free: 58.86 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/6.756, allocations: 4 kB / 3.196 GB, free: 58.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/6.807, allocations: 36.4 MB / 3.231 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/6.807, allocations: 223.3 kB / 3.232 GB, free: 22.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.115/9.922, allocations: 0 / 3.232 GB, free: 22.44 MB / 0.6511 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)