Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T",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.005635/0.005635, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001363/0.001363, allocations: 194.2 kB / 16.67 MB, free: 5.48 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 292 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8831/0.8831, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 95.84 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3999, allocations: 86.99 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.1758/0.5757, allocations: 194.1 MB / 0.9555 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3638/0.9395, allocations: 10.01 MB / 0.9652 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008533/0.9404, allocations: 30.75 kB / 0.9653 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009356/0.9413, allocations: 399.2 kB / 0.9656 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.944, allocations: 1.077 MB / 0.9667 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.947, allocations: 1.322 MB / 0.968 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.9489, allocations: 1.703 MB / 0.9696 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009946/0.9499, allocations: 0.8369 MB / 0.9705 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.9528, allocations: 1.453 MB / 0.9719 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.9534, allocations: 0.5299 MB / 0.9724 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.404e-05/0.9535, allocations: 63.69 kB / 0.9725 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.9559, allocations: 1.42 MB / 0.9738 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.9562, allocations: 348.2 kB / 0.9742 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004439/0.9566, allocations: 444.7 kB / 0.9746 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.9585, allocations: 1.525 MB / 0.9761 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9585, allocations: 3.156 kB / 0.9761 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9585, allocations: 1.094 kB / 0.9761 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.9585, allocations: 0 / 0.9761 GB, free: 1.5 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001365/0.9599, allocations: 1.175 MB / 0.9772 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.9599, allocations: 8.906 kB / 0.9773 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.96, allocations: 124.1 kB / 0.9774 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.9617, allocations: 294.7 kB / 0.9777 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.9625, allocations: 0.5735 MB / 0.9782 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.9626, allocations: 58 kB / 0.9783 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.9627, allocations: 74.14 kB / 0.9783 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.9637, allocations: 0.902 MB / 0.9792 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.9638, allocations: 6.688 kB / 0.9792 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.9638, allocations: 31.61 kB / 0.9793 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.9639, allocations: 40.06 kB / 0.9793 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.9647, allocations: 0.578 MB / 0.9799 GB, free: 16.24 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.9675, allocations: 3.495 MB / 0.9833 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.9679, allocations: 229.5 kB / 0.9835 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.9681, allocations: 144 kB / 0.9836 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.9688, allocations: 488.7 kB / 0.9841 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.9688, allocations: 37.31 kB / 0.9841 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.9688, allocations: 0 / 0.9841 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.001056/0.9699, allocations: 456.5 kB / 0.9846 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.9699, allocations: 106.2 kB / 0.9847 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.9707, allocations: 0.8653 MB / 0.9855 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.9708, allocations: 32.3 kB / 0.9855 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.971, allocations: 394.3 kB / 0.9859 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.9711, allocations: 81.91 kB / 0.986 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.9712, allocations: 57.91 kB / 0.9861 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.9713, allocations: 320.2 kB / 0.9864 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.9715, allocations: 108.3 kB / 0.9865 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.9717, allocations: 208.2 kB / 0.9867 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.9722, allocations: 312.6 kB / 0.987 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9722, allocations: 4 kB / 0.987 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005995/0.9728, allocations: 402.9 kB / 0.9873 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.9728, allocations: 11.25 kB / 0.9874 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9728, allocations: 3.344 kB / 0.9874 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9728, allocations: 3.609 kB / 0.9874 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.9731, allocations: 62.59 kB / 0.9874 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.9731, allocations: 6.156 kB / 0.9874 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.9736, allocations: 90.06 kB / 0.9875 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.9736, allocations: 16.75 kB / 0.9875 GB, free: 12.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002127/0.9738, allocations: 234.7 kB / 0.9878 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.9739, allocations: 81.83 kB / 0.9878 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.9745, allocations: 315.7 kB / 0.9881 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9745, allocations: 2.812 kB / 0.9881 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9745, allocations: 2.781 kB / 0.9881 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.9745, allocations: 6.656 kB / 0.9881 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.9762, allocations: 1.372 MB / 0.9895 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.9762, allocations: 4.75 kB / 0.9895 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.9764, allocations: 44.05 kB / 0.9895 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.9764, allocations: 6.062 kB / 0.9895 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.9764, allocations: 11.34 kB / 0.9895 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.9764, allocations: 7.656 kB / 0.9896 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.9764, allocations: 14.41 kB / 0.9896 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.977, allocations: 0.5092 MB / 0.9901 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.9773, allocations: 194.3 kB / 0.9903 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/0.9773, allocations: 14.05 kB / 0.9903 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.9777, allocations: 14.09 kB / 0.9903 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.9777, allocations: 36.03 kB / 0.9903 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.9778, allocations: 12.08 kB / 0.9903 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005825/0.9783, allocations: 0.6153 MB / 0.9909 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9784, allocations: 0 / 0.9909 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005245/0.9789, allocations: 157.6 kB / 0.9911 GB, free: 10.84 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001059/0.9799, allocations: 1.151 MB / 0.9922 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.9804, allocations: 264.1 kB / 0.9925 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9805, allocations: 0 / 0.9925 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.9807, allocations: 133 kB / 0.9926 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.9824, allocations: 429.6 kB / 0.993 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.9887, allocations: 6.006 MB / 0.9989 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.9892, allocations: 0.992 MB / 0.9998 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004648/0.9896, allocations: 162.8 kB / 1 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.9899, allocations: 275.6 kB / 1 GB, free: 7 MB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/0.9899, allocations: 0.6875 kB / 1 GB, free: 7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0384/1.028, allocations: 20.77 MB / 1.021 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.473/10.5, allocations: 13.88 kB / 1.021 GB, free: 2.488 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T_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_T.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)