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.001215/0.00122, allocations: 108 kB / 15.61 MB, free: 148 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.001192/0.001192, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002478, allocations: 279.2 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9954/0.9954, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 100.9 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1448, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4316/0.5765, allocations: 176 MB / 0.8521 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009997/0.5865, allocations: 8.711 MB / 0.8606 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006264/0.5871, allocations: 18.78 kB / 0.8607 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.5879, allocations: 299.5 kB / 0.8609 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006551/0.5886, allocations: 310.8 kB / 0.8612 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.5895, allocations: 369.8 kB / 0.8616 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.5905, allocations: 1.153 MB / 0.8627 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007296/0.5913, allocations: 0.5831 MB / 0.8633 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/0.5955, allocations: 2.06 MB / 0.8653 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.596, allocations: 346.4 kB / 0.8656 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.596, allocations: 40.09 kB / 0.8657 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.5963, allocations: 76.42 kB / 0.8657 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.5965, allocations: 264.5 kB / 0.866 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.5968, allocations: 288.9 kB / 0.8663 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.5975, allocations: 0.6177 MB / 0.8669 GB, free: 476 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5975, allocations: 0 / 0.8669 GB, free: 476 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5975, allocations: 1.781 kB / 0.8669 GB, free: 476 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.5975, allocations: 0 / 0.8669 GB, free: 476 kB / 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.001036/0.5986, allocations: 0.8251 MB / 0.8677 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5986, allocations: 14.03 kB / 0.8677 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.5987, allocations: 94.02 kB / 0.8678 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.287e-05/0.5988, allocations: 72.25 kB / 0.8679 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.5993, allocations: 415.4 kB / 0.8683 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.5994, allocations: 41.39 kB / 0.8683 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.5994, allocations: 51.12 kB / 0.8683 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.6004, allocations: 0.7154 MB / 0.869 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6004, allocations: 3.031 kB / 0.869 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.6005, allocations: 16.81 kB / 0.8691 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.6006, allocations: 38.77 kB / 0.8691 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.6011, allocations: 376.5 kB / 0.8695 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.6037, allocations: 3.234 MB / 0.8726 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.604, allocations: 216.3 kB / 0.8728 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.6042, allocations: 123.3 kB / 0.8729 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.6043, allocations: 14.67 kB / 0.8729 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6043, allocations: 43.44 kB / 0.873 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.6043, allocations: 0 / 0.873 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006504/0.6049, allocations: 251 kB / 0.8732 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.6051, allocations: 296.8 kB / 0.8735 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006741/0.6058, allocations: 0.6876 MB / 0.8742 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.6058, allocations: 29.7 kB / 0.8742 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.6061, allocations: 264.6 kB / 0.8745 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.6061, allocations: 32.17 kB / 0.8745 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.6062, allocations: 34.31 kB / 0.8745 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6063, allocations: 370.5 kB / 0.8749 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.6064, allocations: 35.5 kB / 0.8749 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.6066, allocations: 99.69 kB / 0.875 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.6069, allocations: 128 kB / 0.8751 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6069, allocations: 0 / 0.8751 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003303/0.6072, allocations: 183.8 kB / 0.8753 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6072, allocations: 11.34 kB / 0.8753 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6072, allocations: 3.938 kB / 0.8753 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6073, allocations: 2.781 kB / 0.8753 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.6075, allocations: 43.69 kB / 0.8754 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6075, allocations: 2.469 kB / 0.8754 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.6077, allocations: 54.67 kB / 0.8754 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.6077, allocations: 11.56 kB / 0.8754 GB, free: 9.164 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.000192/0.6079, allocations: 205.1 kB / 0.8756 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.6081, allocations: 60.92 kB / 0.8757 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.6082, allocations: 61.48 kB / 0.8757 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6082, allocations: 3 kB / 0.8757 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6082, allocations: 6.031 kB / 0.8758 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6082, allocations: 2.562 kB / 0.8758 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.6096, allocations: 1.308 MB / 0.877 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6096, allocations: 2.969 kB / 0.877 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.6098, allocations: 43.91 kB / 0.8771 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6098, allocations: 2.312 kB / 0.8771 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.6098, allocations: 6.516 kB / 0.8771 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6098, allocations: 6.781 kB / 0.8771 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6098, allocations: 8.75 kB / 0.8771 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.6102, allocations: 333.1 kB / 0.8774 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.6104, allocations: 147.1 kB / 0.8776 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.6105, allocations: 5.625 kB / 0.8776 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.6106, allocations: 13.05 kB / 0.8776 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.6107, allocations: 16.42 kB / 0.8776 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.6107, allocations: 9.281 kB / 0.8776 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000485/0.6112, allocations: 0.4914 MB / 0.8781 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6112, allocations: 4 kB / 0.8781 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003484/0.6115, allocations: 85.09 kB / 0.8782 GB, free: 6.938 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.0008563/0.6124, allocations: 0.9037 MB / 0.879 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.6127, allocations: 108 kB / 0.8792 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6127, allocations: 0 / 0.8792 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.6129, allocations: 57.28 kB / 0.8792 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.6142, allocations: 295.5 kB / 0.8795 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.6192, allocations: 4.591 MB / 0.884 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.6197, allocations: 0.9023 MB / 0.8849 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.62, allocations: 103.1 kB / 0.885 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.6202, allocations: 175.8 kB / 0.8851 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6202, allocations: 0 / 0.8851 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.658, allocations: 13.48 MB / 0.8983 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/8.265, allocations: 25.78 kB / 0.8983 GB, free: 7.418 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)