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.004908/0.004909, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001319/0.001319, allocations: 196.6 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002374/0.002374, allocations: 282.6 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 95.84 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1617, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4767/0.6385, allocations: 176 MB / 0.9378 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.6486, allocations: 8.712 MB / 0.9463 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.6492, allocations: 19.88 kB / 0.9463 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.6499, allocations: 301.8 kB / 0.9466 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0006755/0.6506, allocations: 314.4 kB / 0.9469 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.6516, allocations: 366.7 kB / 0.9472 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.6528, allocations: 1.153 MB / 0.9483 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000788/0.6536, allocations: 0.5955 MB / 0.9489 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004303/0.6579, allocations: 2.058 MB / 0.9509 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.6584, allocations: 350.4 kB / 0.9513 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.6584, allocations: 40 kB / 0.9513 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.6587, allocations: 87.88 kB / 0.9514 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.6589, allocations: 251.4 kB / 0.9516 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.6592, allocations: 286.5 kB / 0.9519 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007444/0.66, allocations: 0.6516 MB / 0.9525 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.66, allocations: 0 / 0.9525 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.112e-06/0.66, allocations: 3.938 kB / 0.9525 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.66, allocations: 0 / 0.9525 GB, free: 3.984 MB / 0.7012 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.001045/0.6611, allocations: 0.8334 MB / 0.9534 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6611, allocations: 12.03 kB / 0.9534 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.6612, allocations: 102.4 kB / 0.9535 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.927e-05/0.6613, allocations: 71.52 kB / 0.9535 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.662, allocations: 450.5 kB / 0.954 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.662, allocations: 37.3 kB / 0.954 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.6621, allocations: 55.98 kB / 0.9541 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.6632, allocations: 0.7027 MB / 0.9547 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6632, allocations: 7.984 kB / 0.9548 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.6632, allocations: 20 kB / 0.9548 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.6633, allocations: 43.8 kB / 0.9548 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.664, allocations: 371.4 kB / 0.9552 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.6666, allocations: 3.228 MB / 0.9583 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.6669, allocations: 214.1 kB / 0.9585 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.6671, allocations: 128.6 kB / 0.9586 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.6672, allocations: 7.938 kB / 0.9587 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.6672, allocations: 46.5 kB / 0.9587 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.6672, allocations: 336 / 0.9587 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000673/0.6679, allocations: 250 kB / 0.9589 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.6681, allocations: 298.9 kB / 0.9592 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/0.6689, allocations: 0.6838 MB / 0.9599 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.6689, allocations: 33.7 kB / 0.9599 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.6691, allocations: 264.3 kB / 0.9602 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.6692, allocations: 35.69 kB / 0.9602 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.6692, allocations: 29.72 kB / 0.9602 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6694, allocations: 374.8 kB / 0.9606 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.6696, allocations: 31.97 kB / 0.9606 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.6697, allocations: 93.09 kB / 0.9607 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.67, allocations: 133 kB / 0.9608 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.67, allocations: 0 / 0.9608 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003474/0.6703, allocations: 193.1 kB / 0.961 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6704, allocations: 4 kB / 0.961 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6704, allocations: 8.562 kB / 0.961 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6704, allocations: 0 / 0.961 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.6706, allocations: 43.95 kB / 0.9611 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6706, allocations: 0 / 0.9611 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6708, allocations: 63.69 kB / 0.9611 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.6709, allocations: 4.5 kB / 0.9611 GB, free: 10.57 MB / 0.7169 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.000209/0.6711, allocations: 209.9 kB / 0.9613 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6713, allocations: 67.58 kB / 0.9614 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.6714, allocations: 60.27 kB / 0.9615 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6714, allocations: 4 kB / 0.9615 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.6714, allocations: 0 / 0.9615 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6714, allocations: 4.875 kB / 0.9615 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.6728, allocations: 1.309 MB / 0.9628 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6728, allocations: 0 / 0.9628 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.673, allocations: 43.91 kB / 0.9628 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.673, allocations: 7.984 kB / 0.9628 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.6731, allocations: 4.188 kB / 0.9628 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6731, allocations: 2.312 kB / 0.9628 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6731, allocations: 11.88 kB / 0.9628 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.6735, allocations: 342.8 kB / 0.9631 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.6736, allocations: 148.7 kB / 0.9633 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.6737, allocations: 7.984 kB / 0.9633 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.6739, allocations: 8 kB / 0.9633 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.6739, allocations: 15.92 kB / 0.9633 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.6739, allocations: 11.94 kB / 0.9633 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005693/0.6745, allocations: 0.4951 MB / 0.9638 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6745, allocations: 3.938 kB / 0.9638 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003649/0.6749, allocations: 87.83 kB / 0.9639 GB, free: 7.59 MB / 0.7169 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.0009165/0.6758, allocations: 0.9068 MB / 0.9648 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.6761, allocations: 107.8 kB / 0.9649 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6761, allocations: 0 / 0.9649 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.6763, allocations: 68.2 kB / 0.965 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.6775, allocations: 289.3 kB / 0.9652 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.6829, allocations: 4.455 MB / 0.9696 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.6835, allocations: 0.9011 MB / 0.9705 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002459/0.6837, allocations: 96.62 kB / 0.9706 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.6839, allocations: 175.4 kB / 0.9707 GB, free: 396 kB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.684, allocations: 0 / 0.9707 GB, free: 396 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.7233, allocations: 13.6 MB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.89, allocations: 30.53 kB / 0.984 GB, free: 3.008 MB / 0.7325 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)