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.00106/0.00106, allocations: 103.8 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 66.09 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1535, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.558/0.7115, allocations: 176 MB / 0.8034 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008125/0.7197, allocations: 8.712 MB / 0.8119 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000897/0.7206, allocations: 20.91 kB / 0.8119 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.7214, allocations: 296.7 kB / 0.8122 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.7222, allocations: 309.8 kB / 0.8125 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.7233, allocations: 374.1 kB / 0.8129 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.7245, allocations: 1.152 MB / 0.814 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000786/0.7253, allocations: 0.5903 MB / 0.8146 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005539/0.7308, allocations: 2.062 MB / 0.8166 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007174/0.7316, allocations: 345.8 kB / 0.8169 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.7317, allocations: 39.59 kB / 0.817 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.7322, allocations: 86.56 kB / 0.817 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.7325, allocations: 263.2 kB / 0.8173 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004561/0.733, allocations: 284.3 kB / 0.8176 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008267/0.7338, allocations: 0.6264 MB / 0.8182 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7338, allocations: 0 / 0.8182 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.266e-06/0.7339, allocations: 0 / 0.8182 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.084e-05/0.7339, allocations: 3.938 kB / 0.8182 GB, free: 8.789 MB / 0.5919 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.001347/0.7352, allocations: 0.8243 MB / 0.819 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.7353, allocations: 7.781 kB / 0.819 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.7355, allocations: 104 kB / 0.8191 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.7356, allocations: 71.47 kB / 0.8192 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.7364, allocations: 444.9 kB / 0.8196 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.7364, allocations: 35.88 kB / 0.8196 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.7365, allocations: 53.09 kB / 0.8197 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.7375, allocations: 0.7035 MB / 0.8204 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.7376, allocations: 6.969 kB / 0.8204 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.7376, allocations: 26.67 kB / 0.8204 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.856e-05/0.7377, allocations: 39.98 kB / 0.8204 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.7383, allocations: 375.4 kB / 0.8208 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.741, allocations: 3.211 MB / 0.8239 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.7413, allocations: 211.9 kB / 0.8241 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.7415, allocations: 127.4 kB / 0.8243 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.7415, allocations: 10.53 kB / 0.8243 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.7415, allocations: 46.81 kB / 0.8243 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.714e-06/0.7415, allocations: 0 / 0.8243 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007057/0.7423, allocations: 253.3 kB / 0.8245 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.7424, allocations: 291.5 kB / 0.8248 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.7431, allocations: 0.6869 MB / 0.8255 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.7432, allocations: 33.64 kB / 0.8255 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.7434, allocations: 264.5 kB / 0.8258 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.7434, allocations: 44.48 kB / 0.8258 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.7435, allocations: 30.31 kB / 0.8259 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.7437, allocations: 369.8 kB / 0.8262 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.7438, allocations: 32.09 kB / 0.8262 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.744, allocations: 95.75 kB / 0.8263 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.7442, allocations: 122.8 kB / 0.8264 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7442, allocations: 4 kB / 0.8264 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003459/0.7446, allocations: 192.1 kB / 0.8266 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7446, allocations: 7.25 kB / 0.8266 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7446, allocations: 3.938 kB / 0.8266 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.7446, allocations: 2.875 kB / 0.8266 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.7448, allocations: 43.89 kB / 0.8267 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7449, allocations: 2.062 kB / 0.8267 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.7451, allocations: 61.89 kB / 0.8267 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.7451, allocations: 6.844 kB / 0.8268 GB, free: 1.539 MB / 0.5919 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.0002262/0.7454, allocations: 208.9 kB / 0.827 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.7456, allocations: 61.23 kB / 0.827 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-05/0.7457, allocations: 61.8 kB / 0.8271 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7457, allocations: 6.125 kB / 0.8271 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7457, allocations: 2.938 kB / 0.8271 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7457, allocations: 4.469 kB / 0.8271 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.7471, allocations: 1.296 MB / 0.8283 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.7471, allocations: 2.344 kB / 0.8284 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.7473, allocations: 43.95 kB / 0.8284 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7473, allocations: 2.75 kB / 0.8284 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.7473, allocations: 8.344 kB / 0.8284 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.7473, allocations: 7.297 kB / 0.8284 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7473, allocations: 6.719 kB / 0.8284 GB, free: 64 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.7477, allocations: 340.9 kB / 0.8287 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.7479, allocations: 145.3 kB / 0.8289 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.748, allocations: 2.688 kB / 0.8289 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.7481, allocations: 12.73 kB / 0.8289 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.7482, allocations: 17.2 kB / 0.8289 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.7482, allocations: 7.344 kB / 0.8289 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005161/0.7487, allocations: 0.4967 MB / 0.8294 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7487, allocations: 0 / 0.8294 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003752/0.7491, allocations: 85 kB / 0.8295 GB, free: 15.31 MB / 0.6075 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.0008361/0.7499, allocations: 0.9076 MB / 0.8304 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.7503, allocations: 113.7 kB / 0.8305 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7503, allocations: 1.781 kB / 0.8305 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.7504, allocations: 57.28 kB / 0.8305 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.7516, allocations: 286.2 kB / 0.8308 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/0.7574, allocations: 4.433 MB / 0.8351 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.7579, allocations: 0.9057 MB / 0.836 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.7582, allocations: 103.9 kB / 0.8361 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.7584, allocations: 170.8 kB / 0.8363 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/0.7584, allocations: 0 / 0.8363 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.7952, allocations: 13.81 MB / 0.8498 GB, free: 244 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.87, allocations: 4.062 kB / 0.8498 GB, free: 240 kB / 0.6075 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/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)