Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_Buildings_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.001576/0.001576, allocations: 101.4 kB / 15.7 MB, free: 28 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.001675/0.001675, allocations: 190.8 kB / 16.63 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 68.2 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1983, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.5701/0.7684, allocations: 176 MB / 0.9555 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009555/0.7781, allocations: 8.713 MB / 0.964 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.7791, allocations: 20.69 kB / 0.964 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007571/0.7799, allocations: 299.1 kB / 0.9643 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.7806, allocations: 305.2 kB / 0.9646 GB, free: 112 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.7816, allocations: 375.2 kB / 0.965 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.7831, allocations: 1.154 MB / 0.9661 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008966/0.784, allocations: 0.5957 MB / 0.9667 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00508/0.7891, allocations: 2.061 MB / 0.9687 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005934/0.7897, allocations: 346.1 kB / 0.969 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.318e-05/0.7898, allocations: 44.53 kB / 0.9691 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.7901, allocations: 81.16 kB / 0.9691 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.7904, allocations: 262.6 kB / 0.9694 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.7907, allocations: 283.3 kB / 0.9697 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.7915, allocations: 0.6437 MB / 0.9703 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7915, allocations: 0 / 0.9703 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7915, allocations: 2.484 kB / 0.9703 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.7915, allocations: 0 / 0.9703 GB, free: 15.25 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.001075/0.7926, allocations: 0.8221 MB / 0.9711 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.7927, allocations: 13.69 kB / 0.9711 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.7928, allocations: 94.59 kB / 0.9712 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.7929, allocations: 72.06 kB / 0.9713 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.7936, allocations: 446.5 kB / 0.9717 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.7936, allocations: 41.16 kB / 0.9717 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.7937, allocations: 50.19 kB / 0.9718 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.7947, allocations: 0.7023 MB / 0.9725 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.7947, allocations: 2.188 kB / 0.9725 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.7948, allocations: 23.81 kB / 0.9725 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.7948, allocations: 41.75 kB / 0.9725 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/0.7954, allocations: 377 kB / 0.9729 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.7979, allocations: 3.216 MB / 0.976 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.7982, allocations: 219.5 kB / 0.9762 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.7984, allocations: 128.8 kB / 0.9764 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.7984, allocations: 6.688 kB / 0.9764 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.7984, allocations: 47.72 kB / 0.9764 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.7984, allocations: 0 / 0.9764 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006916/0.7991, allocations: 249.6 kB / 0.9766 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.7993, allocations: 295.6 kB / 0.9769 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.8, allocations: 0.6838 MB / 0.9776 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.8, allocations: 27.2 kB / 0.9776 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.8002, allocations: 268 kB / 0.9779 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.8003, allocations: 40.8 kB / 0.9779 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.8004, allocations: 31.25 kB / 0.9779 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8005, allocations: 371.5 kB / 0.9783 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.8006, allocations: 37.91 kB / 0.9783 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.8008, allocations: 95.39 kB / 0.9784 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.801, allocations: 129.4 kB / 0.9785 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8011, allocations: 0 / 0.9785 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003545/0.8014, allocations: 188 kB / 0.9787 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8014, allocations: 6.156 kB / 0.9787 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.8015, allocations: 4.844 kB / 0.9787 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8015, allocations: 2.188 kB / 0.9787 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.8017, allocations: 41.94 kB / 0.9788 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.8017, allocations: 5.062 kB / 0.9788 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.802, allocations: 57.42 kB / 0.9788 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.802, allocations: 13.06 kB / 0.9789 GB, free: 9.949 MB / 0.7325 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.0002075/0.8022, allocations: 200.8 kB / 0.979 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.8024, allocations: 56.84 kB / 0.9791 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.8025, allocations: 63.91 kB / 0.9792 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.8025, allocations: 7.938 kB / 0.9792 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8026, allocations: 6.5 kB / 0.9792 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8026, allocations: 4.672 kB / 0.9792 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.8039, allocations: 1.301 MB / 0.9804 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.804, allocations: 4.016 kB / 0.9804 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.8041, allocations: 40.53 kB / 0.9805 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.8042, allocations: 2.531 kB / 0.9805 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.8042, allocations: 7.062 kB / 0.9805 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.8042, allocations: 6.719 kB / 0.9805 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.8042, allocations: 8.656 kB / 0.9805 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.8046, allocations: 332.5 kB / 0.9808 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.8047, allocations: 151.1 kB / 0.981 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.8048, allocations: 7.453 kB / 0.981 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.805, allocations: 7.281 kB / 0.981 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.805, allocations: 23.92 kB / 0.981 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.805, allocations: 5.531 kB / 0.981 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005076/0.8055, allocations: 0.496 MB / 0.9815 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8056, allocations: 3.938 kB / 0.9815 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004022/0.806, allocations: 77.34 kB / 0.9816 GB, free: 8.086 MB / 0.7325 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.0008313/0.8068, allocations: 0.9126 MB / 0.9825 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.8071, allocations: 114.1 kB / 0.9826 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8071, allocations: 2.75 kB / 0.9826 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.8073, allocations: 54.36 kB / 0.9826 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.8086, allocations: 283.3 kB / 0.9829 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.8137, allocations: 4.436 MB / 0.9872 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.8142, allocations: 0.907 MB / 0.9881 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003083/0.8145, allocations: 107.8 kB / 0.9882 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.8147, allocations: 171.1 kB / 0.9884 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/0.8147, allocations: 0 / 0.9884 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.8483, allocations: 13.47 MB / 1.002 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/9.14, allocations: 9.781 kB / 1.002 GB, free: 12.77 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)