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.004871/0.004871, allocations: 102.9 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.001222/0.001223, allocations: 196.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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 290.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9349/0.9349, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3757, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.2056/0.5813, allocations: 194.1 MB / 0.9555 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3689/0.9503, allocations: 10.01 MB / 0.9652 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008127/0.9511, allocations: 31.53 kB / 0.9653 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.9519, allocations: 402.9 kB / 0.9656 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.9543, allocations: 1.028 MB / 0.9666 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.957, allocations: 1.3 MB / 0.9679 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.9586, allocations: 1.695 MB / 0.9696 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.9595, allocations: 0.8329 MB / 0.9704 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.9625, allocations: 1.417 MB / 0.9718 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.9631, allocations: 0.5306 MB / 0.9723 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.9632, allocations: 64.28 kB / 0.9724 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.9655, allocations: 1.412 MB / 0.9737 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.9658, allocations: 348.5 kB / 0.9741 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.9662, allocations: 442.7 kB / 0.9745 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.968, allocations: 1.522 MB / 0.976 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.968, allocations: 3.844 kB / 0.976 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.968, allocations: 0 / 0.976 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.9681, allocations: 1.062 kB / 0.976 GB, free: 1.562 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.001379/0.9694, allocations: 1.174 MB / 0.9771 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.9695, allocations: 8.219 kB / 0.9771 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.9696, allocations: 125.3 kB / 0.9772 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.9711, allocations: 297.4 kB / 0.9775 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007819/0.9719, allocations: 0.5733 MB / 0.9781 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.972, allocations: 60.56 kB / 0.9782 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.972, allocations: 73.38 kB / 0.9782 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.9731, allocations: 0.8994 MB / 0.9791 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.9731, allocations: 3.875 kB / 0.9791 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.9732, allocations: 35.48 kB / 0.9791 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.9732, allocations: 35.41 kB / 0.9792 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.9741, allocations: 0.5785 MB / 0.9797 GB, free: 16.3 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.002998/0.9771, allocations: 3.496 MB / 0.9831 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.9774, allocations: 223.9 kB / 0.9834 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.9776, allocations: 147 kB / 0.9835 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007057/0.9783, allocations: 490.8 kB / 0.984 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.9783, allocations: 43.47 kB / 0.984 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.9783, allocations: 0.875 kB / 0.984 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.001017/0.9793, allocations: 449.4 kB / 0.9844 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.9795, allocations: 113.1 kB / 0.9845 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.9803, allocations: 0.8678 MB / 0.9854 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.9803, allocations: 31.89 kB / 0.9854 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.9805, allocations: 388.8 kB / 0.9858 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.9806, allocations: 84.84 kB / 0.9859 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.9807, allocations: 55.41 kB / 0.9859 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9808, allocations: 318.9 kB / 0.9862 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.981, allocations: 107.7 kB / 0.9863 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.9813, allocations: 208.6 kB / 0.9865 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.9817, allocations: 315.7 kB / 0.9868 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9817, allocations: 0 / 0.9868 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005767/0.9823, allocations: 404.6 kB / 0.9872 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9823, allocations: 7.844 kB / 0.9872 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9823, allocations: 2.344 kB / 0.9872 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.9823, allocations: 12.22 kB / 0.9872 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.9826, allocations: 59.92 kB / 0.9873 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.9826, allocations: 6.188 kB / 0.9873 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.983, allocations: 92.77 kB / 0.9874 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.983, allocations: 12.25 kB / 0.9874 GB, free: 12.28 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.0002159/0.9833, allocations: 234 kB / 0.9876 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.9834, allocations: 82.61 kB / 0.9877 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/0.9839, allocations: 316.5 kB / 0.988 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.9839, allocations: 2.5 kB / 0.988 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.984, allocations: 6.594 kB / 0.988 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.984, allocations: 4.188 kB / 0.988 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.9856, allocations: 1.373 MB / 0.9894 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.9856, allocations: 5.844 kB / 0.9894 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.9858, allocations: 41.06 kB / 0.9894 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.9858, allocations: 5.656 kB / 0.9894 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.9858, allocations: 10.31 kB / 0.9894 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.9858, allocations: 10.59 kB / 0.9894 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.9858, allocations: 10.41 kB / 0.9894 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.9864, allocations: 0.5171 MB / 0.99 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.9866, allocations: 190.1 kB / 0.9901 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.9867, allocations: 12.97 kB / 0.9901 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.987, allocations: 11.41 kB / 0.9902 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.9871, allocations: 32.5 kB / 0.9902 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.9871, allocations: 10.12 kB / 0.9902 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005888/0.9877, allocations: 0.6129 MB / 0.9908 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9877, allocations: 0 / 0.9908 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004788/0.9882, allocations: 159.8 kB / 0.9909 GB, free: 10.91 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.001137/0.9893, allocations: 1.155 MB / 0.9921 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.9898, allocations: 265 kB / 0.9923 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9898, allocations: 0.6562 kB / 0.9923 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.99, allocations: 132.7 kB / 0.9925 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.9916, allocations: 429.6 kB / 0.9929 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/0.9979, allocations: 6.006 MB / 0.9987 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.9985, allocations: 0.9895 MB / 0.9997 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004645/0.9989, allocations: 164.9 kB / 0.9999 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.9992, allocations: 278.9 kB / 1 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.9992, allocations: 0 / 1 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/1.045, allocations: 20.77 MB / 1.02 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/9.541, allocations: 14.09 kB / 1.02 GB, free: 2.562 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)