Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 96.27 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002735/0.002735, allocations: 174.6 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.614/2.614, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.345/1.345, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005905, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3173, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 1.044/1.362, allocations: 146.9 MB / 0.7001 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01666/1.378, allocations: 7.011 MB / 0.707 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.38, allocations: 15.88 kB / 0.707 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/1.382, allocations: 350.5 kB / 0.7073 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/1.385, allocations: 374.9 kB / 0.7077 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/1.388, allocations: 0.5211 MB / 0.7082 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002453/1.39, allocations: 0.6698 MB / 0.7089 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/1.392, allocations: 460.4 kB / 0.7093 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005961/1.398, allocations: 1.219 MB / 0.7105 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/1.398, allocations: 222.9 kB / 0.7107 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/1.399, allocations: 24 kB / 0.7107 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/1.399, allocations: 47.97 kB / 0.7108 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004037/1.399, allocations: 219.4 kB / 0.711 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/1.4, allocations: 129.4 kB / 0.7111 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008891/1.4, allocations: 455.6 kB / 0.7115 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/1.401, allocations: 0 / 0.7115 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.005e-06/1.401, allocations: 0 / 0.7115 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.401, allocations: 4 kB / 0.7115 GB, free: 11.57 MB / 0.5294 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.001687/1.402, allocations: 0.7179 MB / 0.7122 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.812e-05/1.402, allocations: 12.03 kB / 0.7122 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/1.403, allocations: 98.48 kB / 0.7123 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/1.403, allocations: 67.25 kB / 0.7124 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.404, allocations: 398.4 kB / 0.7128 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/1.404, allocations: 43.83 kB / 0.7128 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.404, allocations: 59.98 kB / 0.7129 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.406, allocations: 0.6949 MB / 0.7136 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/1.406, allocations: 4 kB / 0.7136 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.808e-05/1.406, allocations: 27.98 kB / 0.7136 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.884e-05/1.406, allocations: 31.92 kB / 0.7136 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/1.407, allocations: 383.4 kB / 0.714 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/1.412, allocations: 3.219 MB / 0.7171 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/1.413, allocations: 226.1 kB / 0.7173 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/1.413, allocations: 8.016 kB / 0.7174 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/1.413, allocations: 50.48 kB / 0.7174 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 4.368e-06/1.413, allocations: 0 / 0.7174 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.001281/1.414, allocations: 265.5 kB / 0.7177 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/1.414, allocations: 283.1 kB / 0.7179 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/1.416, allocations: 0.6877 MB / 0.7186 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/1.416, allocations: 26.03 kB / 0.7186 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/1.416, allocations: 272.1 kB / 0.7189 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/1.417, allocations: 39.44 kB / 0.7189 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/1.417, allocations: 11.88 kB / 0.7189 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002714/1.417, allocations: 362.8 kB / 0.7193 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/1.417, allocations: 43.97 kB / 0.7193 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/1.417, allocations: 101.1 kB / 0.7194 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/1.418, allocations: 48.16 kB / 0.7195 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.418, allocations: 4 kB / 0.7195 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006792/1.418, allocations: 204.9 kB / 0.7197 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/1.418, allocations: 7.953 kB / 0.7197 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.418, allocations: 4 kB / 0.7197 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.418, allocations: 0 / 0.7197 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/1.419, allocations: 55.92 kB / 0.7197 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/1.419, allocations: 4 kB / 0.7197 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/1.419, allocations: 67.27 kB / 0.7198 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/1.419, allocations: 4 kB / 0.7198 GB, free: 2.555 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004222/1.42, allocations: 197.8 kB / 0.72 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/1.42, allocations: 67.34 kB / 0.7201 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/1.42, allocations: 60.28 kB / 0.7201 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.42, allocations: 11.92 kB / 0.7201 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.42, allocations: 0.875 kB / 0.7201 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.42, allocations: 4 kB / 0.7201 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/1.423, allocations: 1.293 MB / 0.7214 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.423, allocations: 4 kB / 0.7214 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/1.423, allocations: 56.17 kB / 0.7214 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.423, allocations: 7.984 kB / 0.7215 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/1.423, allocations: 12.06 kB / 0.7215 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.424, allocations: 4 kB / 0.7215 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.424, allocations: 4 kB / 0.7215 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/1.424, allocations: 453.7 kB / 0.7219 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/1.425, allocations: 148.4 kB / 0.722 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/1.425, allocations: 7.953 kB / 0.7221 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/1.425, allocations: 15.98 kB / 0.7221 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.425, allocations: 16.06 kB / 0.7221 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/1.425, allocations: 4 kB / 0.7221 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001215/1.427, allocations: 0.4912 MB / 0.7226 GB, free: 15.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/1.427, allocations: 0 / 0.7226 GB, free: 15.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008565/1.428, allocations: 79.84 kB / 0.7226 GB, free: 15.41 MB / 0.545 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 (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.002636/1.43, allocations: 1.648 MB / 0.7243 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006298/1.431, allocations: 111.8 kB / 0.7244 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.431, allocations: 0 / 0.7244 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/1.431, allocations: 76.77 kB / 0.7244 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/1.434, allocations: 270.8 kB / 0.7247 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/1.443, allocations: 3.762 MB / 0.7284 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/1.444, allocations: 0.9169 MB / 0.7293 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005924/1.445, allocations: 108.6 kB / 0.7294 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/1.445, allocations: 175.4 kB / 0.7295 GB, free: 8.164 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.445, allocations: 0 / 0.7295 GB, free: 8.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/1.502, allocations: 12.96 MB / 0.7422 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/1.502, allocations: 216.2 kB / 0.7424 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/4.775, allocations: 0 / 0.7424 GB, free: 11.22 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: