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.00126/0.00126, 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.001224/0.001224, allocations: 198.2 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 290.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 98.77 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1493, allocations: 89.13 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4505/0.5998, allocations: 176 MB / 0.8654 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.6099, allocations: 8.707 MB / 0.8739 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.6105, allocations: 20.72 kB / 0.874 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.6113, allocations: 298.2 kB / 0.8743 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.612, allocations: 304 kB / 0.8745 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.6129, allocations: 374.2 kB / 0.8749 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.6139, allocations: 1.146 MB / 0.876 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007181/0.6146, allocations: 0.5921 MB / 0.8766 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.6187, allocations: 2.061 MB / 0.8786 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.6191, allocations: 346.2 kB / 0.8789 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.6192, allocations: 43.95 kB / 0.879 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.6194, allocations: 78.08 kB / 0.8791 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.6196, allocations: 257 kB / 0.8793 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.6199, allocations: 280.9 kB / 0.8796 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.6205, allocations: 0.6163 MB / 0.8802 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6205, allocations: 4 kB / 0.8802 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6205, allocations: 0 / 0.8802 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.6205, allocations: 0 / 0.8802 GB, free: 11.62 MB / 0.6075 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.0009929/0.6215, allocations: 0.816 MB / 0.881 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.6216, allocations: 9.438 kB / 0.881 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.6217, allocations: 99.25 kB / 0.8811 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.652e-05/0.6218, allocations: 72.47 kB / 0.8811 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.6223, allocations: 416.8 kB / 0.8815 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.6223, allocations: 39.69 kB / 0.8816 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.6224, allocations: 63.2 kB / 0.8816 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.6234, allocations: 0.705 MB / 0.8823 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.6234, allocations: 3.938 kB / 0.8823 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.6235, allocations: 27.45 kB / 0.8824 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.6235, allocations: 34.17 kB / 0.8824 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.6241, allocations: 371.7 kB / 0.8827 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.6269, allocations: 3.239 MB / 0.8859 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.6272, allocations: 214.1 kB / 0.8861 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.6274, allocations: 128.6 kB / 0.8862 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.6275, allocations: 11.94 kB / 0.8862 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6275, allocations: 42.5 kB / 0.8863 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.6275, allocations: 0 / 0.8863 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007169/0.6282, allocations: 253.4 kB / 0.8865 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.6284, allocations: 290.7 kB / 0.8868 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.6292, allocations: 0.6839 MB / 0.8875 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.6293, allocations: 30.11 kB / 0.8875 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.6295, allocations: 268.2 kB / 0.8878 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.6296, allocations: 39.44 kB / 0.8878 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.6296, allocations: 33.7 kB / 0.8878 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.6298, allocations: 366.8 kB / 0.8882 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.6299, allocations: 39.95 kB / 0.8882 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.6301, allocations: 93.11 kB / 0.8883 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.6304, allocations: 129 kB / 0.8884 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6304, allocations: 4 kB / 0.8884 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000361/0.6308, allocations: 184.8 kB / 0.8886 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6308, allocations: 4 kB / 0.8886 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6308, allocations: 3.938 kB / 0.8886 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.6308, allocations: 12.17 kB / 0.8886 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.631, allocations: 37.78 kB / 0.8887 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6311, allocations: 0 / 0.8887 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.6313, allocations: 55.27 kB / 0.8887 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.6313, allocations: 15.98 kB / 0.8887 GB, free: 3.086 MB / 0.6075 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.0002153/0.6315, allocations: 197.7 kB / 0.8889 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.6317, allocations: 59.34 kB / 0.889 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.6318, allocations: 72.47 kB / 0.889 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6319, allocations: 0 / 0.889 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6319, allocations: 8.125 kB / 0.8891 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6319, allocations: 4 kB / 0.8891 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.6333, allocations: 1.296 MB / 0.8903 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6334, allocations: 4 kB / 0.8903 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.6336, allocations: 43.89 kB / 0.8904 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.6336, allocations: 4.281 kB / 0.8904 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.6336, allocations: 9.312 kB / 0.8904 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6336, allocations: 0 / 0.8904 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.6336, allocations: 4 kB / 0.8904 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.634, allocations: 346.2 kB / 0.8907 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.6342, allocations: 144.4 kB / 0.8909 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.6343, allocations: 8 kB / 0.8909 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.6344, allocations: 11.98 kB / 0.8909 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.6345, allocations: 15.94 kB / 0.8909 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.6345, allocations: 4 kB / 0.8909 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005734/0.6351, allocations: 0.4912 MB / 0.8914 GB, free: 228 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6351, allocations: 0 / 0.8914 GB, free: 228 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003823/0.6355, allocations: 87.83 kB / 0.8915 GB, free: 140 kB / 0.6075 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.0009327/0.6364, allocations: 0.9156 MB / 0.8923 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.6367, allocations: 111.9 kB / 0.8925 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6368, allocations: 0 / 0.8925 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.6369, allocations: 63.83 kB / 0.8925 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6382, allocations: 278.3 kB / 0.8928 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.6437, allocations: 4.579 MB / 0.8973 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.6443, allocations: 0.905 MB / 0.8981 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.6445, allocations: 108.7 kB / 0.8982 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.6447, allocations: 175.3 kB / 0.8984 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.6447, allocations: 0 / 0.8984 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.6835, allocations: 13.5 MB / 0.9116 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.221, allocations: 0.625 kB / 0.9116 GB, free: 11.53 MB / 0.6387 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)