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.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 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.001215/0.001215, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 270.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9852/0.9852, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 94.17 kB / 0.5953 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1403, allocations: 86.97 MB / 0.6803 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4325/0.5728, allocations: 176 MB / 0.8521 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009032/0.5819, allocations: 8.703 MB / 0.8606 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007644/0.5827, allocations: 22.75 kB / 0.8607 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.5834, allocations: 297.2 kB / 0.8609 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.5841, allocations: 305.9 kB / 0.8612 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008864/0.585, allocations: 375.5 kB / 0.8616 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.5859, allocations: 1.146 MB / 0.8627 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006787/0.5866, allocations: 0.586 MB / 0.8633 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.5907, allocations: 2.066 MB / 0.8653 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.5911, allocations: 336.3 kB / 0.8656 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.5912, allocations: 43.8 kB / 0.8657 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.5914, allocations: 84.2 kB / 0.8657 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.5916, allocations: 261.9 kB / 0.866 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.5918, allocations: 284.5 kB / 0.8663 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.5924, allocations: 0.6219 MB / 0.8669 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5924, allocations: 0 / 0.8669 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5924, allocations: 0 / 0.8669 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.5924, allocations: 0 / 0.8669 GB, free: 0.5273 MB / 0.5762 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.0009054/0.5933, allocations: 0.824 MB / 0.8677 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5934, allocations: 10.47 kB / 0.8677 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.733e-05/0.5935, allocations: 96.47 kB / 0.8678 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.5936, allocations: 76 kB / 0.8678 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.594, allocations: 422.9 kB / 0.8682 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.5941, allocations: 39.72 kB / 0.8683 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.5941, allocations: 55.27 kB / 0.8683 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008469/0.595, allocations: 0.7055 MB / 0.869 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.595, allocations: 0 / 0.869 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.5951, allocations: 27.36 kB / 0.8691 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.5951, allocations: 34.17 kB / 0.8691 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.5957, allocations: 378.4 kB / 0.8694 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.5978, allocations: 3.226 MB / 0.8726 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.5981, allocations: 220.1 kB / 0.8728 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.5982, allocations: 127.3 kB / 0.8729 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.5983, allocations: 10.03 kB / 0.8729 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5983, allocations: 46.88 kB / 0.873 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.5983, allocations: 0 / 0.873 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006329/0.5989, allocations: 251.1 kB / 0.8732 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5991, allocations: 296.5 kB / 0.8735 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.5997, allocations: 0.6852 MB / 0.8742 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.5997, allocations: 30.27 kB / 0.8742 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.5999, allocations: 266.8 kB / 0.8745 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.6, allocations: 35.94 kB / 0.8745 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.6, allocations: 30.62 kB / 0.8745 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6001, allocations: 369.7 kB / 0.8749 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.6003, allocations: 36.22 kB / 0.8749 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.6004, allocations: 98.25 kB / 0.875 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.6006, allocations: 131.2 kB / 0.8751 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6007, allocations: 192 / 0.8751 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000307/0.601, allocations: 187.9 kB / 0.8753 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.601, allocations: 11.75 kB / 0.8753 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.601, allocations: 3.938 kB / 0.8753 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.601, allocations: 2.531 kB / 0.8753 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.6012, allocations: 39.3 kB / 0.8754 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6012, allocations: 2.688 kB / 0.8754 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.6014, allocations: 58.61 kB / 0.8754 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.6015, allocations: 6.844 kB / 0.8754 GB, free: 9.227 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.0001664/0.6016, allocations: 203.9 kB / 0.8756 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.6019, allocations: 59.48 kB / 0.8757 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.6019, allocations: 69.3 kB / 0.8757 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6019, allocations: 2.469 kB / 0.8757 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.602, allocations: 2.438 kB / 0.8758 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.602, allocations: 5.25 kB / 0.8758 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6032, allocations: 1.301 MB / 0.877 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6032, allocations: 2.469 kB / 0.877 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.6034, allocations: 39.78 kB / 0.8771 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.6034, allocations: 6.672 kB / 0.8771 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.6034, allocations: 2.562 kB / 0.8771 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6034, allocations: 4.281 kB / 0.8771 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.6034, allocations: 7.938 kB / 0.8771 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.6037, allocations: 337.4 kB / 0.8774 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.6039, allocations: 153.6 kB / 0.8776 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.6039, allocations: 2.344 kB / 0.8776 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.6041, allocations: 8.766 kB / 0.8776 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6042, allocations: 21.45 kB / 0.8776 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.6042, allocations: 4.312 kB / 0.8776 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004604/0.6046, allocations: 0.4958 MB / 0.8781 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6046, allocations: 4 kB / 0.8781 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003558/0.605, allocations: 80.47 kB / 0.8782 GB, free: 7.004 MB / 0.5919 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.0007594/0.6058, allocations: 0.9145 MB / 0.879 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.6061, allocations: 108.2 kB / 0.8792 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6061, allocations: 0 / 0.8792 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.6062, allocations: 57.47 kB / 0.8792 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.6075, allocations: 289.2 kB / 0.8795 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/0.612, allocations: 4.582 MB / 0.884 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.6124, allocations: 0.9098 MB / 0.8848 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.6127, allocations: 107.4 kB / 0.8849 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.6129, allocations: 170.8 kB / 0.8851 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.6129, allocations: 0 / 0.8851 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.6452, allocations: 13.48 MB / 0.8983 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.698, allocations: 19.8 kB / 0.8983 GB, free: 7.512 MB / 0.6075 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)