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.001052/0.001052, allocations: 106.3 kB / 16.41 MB, free: 6.449 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.001057/0.001057, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7453/0.7453, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 71.56 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1386, allocations: 77.94 MB / 0.6441 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5063/0.6449, allocations: 176 MB / 0.8159 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008825/0.6537, allocations: 8.715 MB / 0.8244 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008392/0.6546, allocations: 20.78 kB / 0.8244 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.6555, allocations: 301 kB / 0.8247 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.6562, allocations: 315.7 kB / 0.825 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.6572, allocations: 385.4 kB / 0.8254 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.6583, allocations: 1.156 MB / 0.8265 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007193/0.659, allocations: 0.59 MB / 0.8271 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.6635, allocations: 2.135 MB / 0.8292 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.6639, allocations: 351 kB / 0.8295 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.664, allocations: 40 kB / 0.8295 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.6642, allocations: 86.02 kB / 0.8296 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.6644, allocations: 254 kB / 0.8299 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.6647, allocations: 283.6 kB / 0.8301 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.6653, allocations: 0.6396 MB / 0.8308 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.6653, allocations: 0 / 0.8308 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6654, allocations: 0 / 0.8308 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.6654, allocations: 0 / 0.8308 GB, free: 4.562 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.0009572/0.6663, allocations: 0.8394 MB / 0.8316 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6664, allocations: 10.81 kB / 0.8316 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.084e-05/0.6665, allocations: 101.1 kB / 0.8317 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.6666, allocations: 72.3 kB / 0.8318 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.6672, allocations: 444.8 kB / 0.8322 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.6673, allocations: 41.83 kB / 0.8322 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.6673, allocations: 62.22 kB / 0.8323 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000916/0.6683, allocations: 0.7016 MB / 0.833 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.6683, allocations: 6.156 kB / 0.833 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.6683, allocations: 24.56 kB / 0.833 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.6684, allocations: 34.11 kB / 0.833 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005716/0.669, allocations: 373.3 kB / 0.8334 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.6714, allocations: 3.222 MB / 0.8365 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.6716, allocations: 218 kB / 0.8367 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.6718, allocations: 127.3 kB / 0.8369 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.6718, allocations: 14.59 kB / 0.8369 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6719, allocations: 43.69 kB / 0.8369 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6719, allocations: 0 / 0.8369 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006583/0.6725, allocations: 251.8 kB / 0.8372 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.6727, allocations: 296.1 kB / 0.8374 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.6733, allocations: 0.682 MB / 0.8381 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.6734, allocations: 31.95 kB / 0.8381 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.6736, allocations: 269.3 kB / 0.8384 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.6736, allocations: 34.83 kB / 0.8384 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.6737, allocations: 31.39 kB / 0.8385 GB, free: 14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6738, allocations: 365.5 kB / 0.8388 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.6739, allocations: 40.45 kB / 0.8388 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.6741, allocations: 98.55 kB / 0.8389 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.6743, allocations: 131.5 kB / 0.8391 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6743, allocations: 0 / 0.8391 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003287/0.6747, allocations: 194.8 kB / 0.8392 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.6747, allocations: 4.344 kB / 0.8392 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6747, allocations: 11.16 kB / 0.8393 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6747, allocations: 0 / 0.8393 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.675, allocations: 39.73 kB / 0.8393 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.675, allocations: 2.219 kB / 0.8393 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.6752, allocations: 60.83 kB / 0.8394 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.6752, allocations: 9.281 kB / 0.8394 GB, free: 13.27 MB / 0.6075 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.0001811/0.6754, allocations: 203.4 kB / 0.8396 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.6756, allocations: 63.12 kB / 0.8396 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.6757, allocations: 64.95 kB / 0.8397 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6757, allocations: 5.688 kB / 0.8397 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6757, allocations: 2.281 kB / 0.8397 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6757, allocations: 6.484 kB / 0.8397 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.6771, allocations: 1.299 MB / 0.841 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6771, allocations: 112 / 0.841 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.6773, allocations: 48.61 kB / 0.841 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6773, allocations: 6.688 kB / 0.841 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.6773, allocations: 4.75 kB / 0.841 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6773, allocations: 2.875 kB / 0.841 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.6773, allocations: 2.406 kB / 0.841 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.6777, allocations: 343.1 kB / 0.8414 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.6779, allocations: 147 kB / 0.8415 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.6779, allocations: 18.45 kB / 0.8415 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.6781, allocations: 4.719 kB / 0.8415 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.6782, allocations: 17.27 kB / 0.8415 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.6782, allocations: 5.062 kB / 0.8415 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004682/0.6786, allocations: 0.4911 MB / 0.842 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.673e-06/0.6786, allocations: 0 / 0.842 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003584/0.679, allocations: 89.14 kB / 0.8421 GB, free: 11.04 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.0007953/0.6798, allocations: 0.9142 MB / 0.843 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.6801, allocations: 105.4 kB / 0.8431 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6801, allocations: 0 / 0.8431 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.6803, allocations: 68.05 kB / 0.8432 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.6815, allocations: 281.2 kB / 0.8434 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.6863, allocations: 4.448 MB / 0.8478 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.6868, allocations: 0.9061 MB / 0.8487 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.6871, allocations: 107.1 kB / 0.8488 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.6873, allocations: 175.8 kB / 0.8489 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6873, allocations: 0 / 0.8489 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.7218, allocations: 13.58 MB / 0.8622 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.63, allocations: 13.2 kB / 0.8622 GB, free: 10.01 MB / 0.6231 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)