Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_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.0048/0.0048, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001313/0.001313, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 282.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.143/1.143, allocations: 178.5 MB / 0.5074 GB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 96.17 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3803, allocations: 89.13 MB / 0.7813 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.1961/0.5764, allocations: 176 MB / 0.9532 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.587, allocations: 8.717 MB / 0.9617 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006124/0.5876, allocations: 23.81 kB / 0.9617 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007292/0.5884, allocations: 297.8 kB / 0.962 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006801/0.5891, allocations: 306.3 kB / 0.9623 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009803/0.5901, allocations: 379.5 kB / 0.9627 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.5913, allocations: 1.144 MB / 0.9638 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.5921, allocations: 0.592 MB / 0.9644 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.5965, allocations: 2.058 MB / 0.9664 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.597, allocations: 350.4 kB / 0.9667 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.209e-05/0.5971, allocations: 40 kB / 0.9667 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.5973, allocations: 79.95 kB / 0.9668 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.5976, allocations: 259.3 kB / 0.9671 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.5979, allocations: 286.5 kB / 0.9673 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.5987, allocations: 0.634 MB / 0.968 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5987, allocations: 0 / 0.968 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5987, allocations: 0 / 0.968 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.5987, allocations: 0 / 0.968 GB, free: 8.93 MB / 0.7325 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.001131/0.5998, allocations: 0.845 MB / 0.9688 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5999, allocations: 8.031 kB / 0.9688 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.6, allocations: 94.52 kB / 0.9689 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.6001, allocations: 75.52 kB / 0.969 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.6008, allocations: 442.5 kB / 0.9694 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.6008, allocations: 45.3 kB / 0.9694 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.6009, allocations: 56 kB / 0.9695 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.602, allocations: 0.6988 MB / 0.9702 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.602, allocations: 7.938 kB / 0.9702 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.6021, allocations: 31.92 kB / 0.9702 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.6022, allocations: 27.98 kB / 0.9702 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.6028, allocations: 375.4 kB / 0.9706 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.6056, allocations: 3.22 MB / 0.9737 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.6059, allocations: 218.1 kB / 0.9739 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.6061, allocations: 132.5 kB / 0.9741 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.6062, allocations: 4 kB / 0.9741 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.6062, allocations: 46.48 kB / 0.9741 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.6062, allocations: 0 / 0.9741 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007132/0.6069, allocations: 253.5 kB / 0.9743 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.6071, allocations: 291.4 kB / 0.9746 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.6079, allocations: 0.6877 MB / 0.9753 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.608, allocations: 30.03 kB / 0.9753 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.6082, allocations: 272.2 kB / 0.9756 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.6082, allocations: 35.73 kB / 0.9756 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.6083, allocations: 29.66 kB / 0.9756 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.6085, allocations: 366.8 kB / 0.976 GB, free: 132 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.6086, allocations: 35.97 kB / 0.976 GB, free: 96 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.6088, allocations: 109 kB / 0.9761 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.6091, allocations: 121 kB / 0.9763 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6091, allocations: 4.062 kB / 0.9763 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003566/0.6095, allocations: 197.1 kB / 0.9764 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6095, allocations: 12.12 kB / 0.9765 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6095, allocations: 4 kB / 0.9765 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6095, allocations: 4 kB / 0.9765 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.6098, allocations: 39.89 kB / 0.9765 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6098, allocations: 4 kB / 0.9765 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.61, allocations: 59.5 kB / 0.9766 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.61, allocations: 8 kB / 0.9766 GB, free: 15.5 MB / 0.7481 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.0002146/0.6102, allocations: 201.8 kB / 0.9768 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.6104, allocations: 63.56 kB / 0.9768 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/0.6105, allocations: 60.31 kB / 0.9769 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6105, allocations: 4 kB / 0.9769 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.6105, allocations: 4 kB / 0.9769 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6106, allocations: 4 kB / 0.9769 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.612, allocations: 1.3 MB / 0.9782 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.612, allocations: 4 kB / 0.9782 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.6123, allocations: 44.23 kB / 0.9782 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6123, allocations: 0 / 0.9782 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.6123, allocations: 8 kB / 0.9782 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.6123, allocations: 11.92 kB / 0.9782 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6123, allocations: 4 kB / 0.9782 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.6127, allocations: 330.7 kB / 0.9785 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.6129, allocations: 152.7 kB / 0.9787 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.613, allocations: 8 kB / 0.9787 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.6131, allocations: 7.984 kB / 0.9787 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.6132, allocations: 19.86 kB / 0.9787 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.6132, allocations: 8 kB / 0.9787 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005737/0.6138, allocations: 0.4912 MB / 0.9792 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6138, allocations: 288 / 0.9792 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003729/0.6142, allocations: 87.89 kB / 0.9793 GB, free: 12.55 MB / 0.7481 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.0009321/0.6151, allocations: 0.9167 MB / 0.9802 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.6154, allocations: 111.8 kB / 0.9803 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6154, allocations: 0 / 0.9803 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.6156, allocations: 56.78 kB / 0.9804 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.6169, allocations: 280 kB / 0.9806 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.6223, allocations: 4.474 MB / 0.985 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.6228, allocations: 0.9088 MB / 0.9859 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.6231, allocations: 108.6 kB / 0.986 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.6233, allocations: 167.4 kB / 0.9861 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.6233, allocations: 0 / 0.9861 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3422/0.9655, allocations: 13.61 MB / 0.9994 GB, free: 201.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/9.191, allocations: 6.703 kB / 0.9994 GB, free: 201.4 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)