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.004717/0.004717, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001262/0.001262, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 297.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.166/1.166, allocations: 178.6 MB / 0.5074 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 99.84 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3704, allocations: 89.13 MB / 0.7813 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.2105/0.581, allocations: 194.1 MB / 0.9709 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.5934, allocations: 10.03 MB / 0.9807 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/0.5941, allocations: 35.81 kB / 0.9807 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0009136/0.5951, allocations: 397 kB / 0.9811 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.5974, allocations: 1.023 MB / 0.9821 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.6003, allocations: 1.295 MB / 0.9834 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.6023, allocations: 1.698 MB / 0.985 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.6034, allocations: 0.8354 MB / 0.9858 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/0.6061, allocations: 1.417 MB / 0.9872 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/0.6068, allocations: 0.5289 MB / 0.9877 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.6069, allocations: 64 kB / 0.9878 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.6093, allocations: 1.407 MB / 0.9892 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.6097, allocations: 347.1 kB / 0.9895 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.6101, allocations: 437.7 kB / 0.9899 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.6122, allocations: 1.51 MB / 0.9914 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6122, allocations: 0 / 0.9914 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6122, allocations: 0 / 0.9914 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.6123, allocations: 0 / 0.9914 GB, free: 0.875 MB / 0.7481 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.2971/0.9094, allocations: 1.17 MB / 0.9925 GB, free: 205.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.9094, allocations: 9.938 kB / 0.9925 GB, free: 205.4 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.9096, allocations: 127.6 kB / 0.9927 GB, free: 205.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.9113, allocations: 296.7 kB / 0.9929 GB, free: 205.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.9122, allocations: 0.5777 MB / 0.9935 GB, free: 204.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.9122, allocations: 56.42 kB / 0.9936 GB, free: 204.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.9123, allocations: 73.81 kB / 0.9936 GB, free: 204.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.9136, allocations: 0.8992 MB / 0.9945 GB, free: 204.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.9137, allocations: 7.656 kB / 0.9945 GB, free: 204.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.9137, allocations: 31.12 kB / 0.9946 GB, free: 204.4 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.9138, allocations: 41.3 kB / 0.9946 GB, free: 204.4 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.9148, allocations: 0.5781 MB / 0.9952 GB, free: 204.2 MB / 0.7481 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.002935/0.9177, allocations: 3.502 MB / 0.9986 GB, free: 201.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.9181, allocations: 222.8 kB / 0.9988 GB, free: 201.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.9183, allocations: 151.9 kB / 0.9989 GB, free: 201.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.919, allocations: 490 kB / 0.9994 GB, free: 201 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.919, allocations: 36.53 kB / 0.9994 GB, free: 201 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/0.9191, allocations: 0 / 0.9994 GB, free: 201 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.001166/0.9202, allocations: 454 kB / 0.9999 GB, free: 200.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.9203, allocations: 110 kB / 1 GB, free: 200.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.9213, allocations: 0.8666 MB / 1.001 GB, free: 200.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.9213, allocations: 31.55 kB / 1.001 GB, free: 200.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.9216, allocations: 390.4 kB / 1.001 GB, free: 200.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.9216, allocations: 77.78 kB / 1.001 GB, free: 200 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.9217, allocations: 59.8 kB / 1.001 GB, free: 200 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.9218, allocations: 317 kB / 1.002 GB, free: 199.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.922, allocations: 102.4 kB / 1.002 GB, free: 199.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.9223, allocations: 211.9 kB / 1.002 GB, free: 199.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.9228, allocations: 307.5 kB / 1.002 GB, free: 199.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9228, allocations: 0.8125 kB / 1.002 GB, free: 199.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006603/0.9235, allocations: 412.6 kB / 1.003 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9235, allocations: 6.375 kB / 1.003 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.9235, allocations: 3.125 kB / 1.003 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.9235, allocations: 4.281 kB / 1.003 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.9238, allocations: 62.28 kB / 1.003 GB, free: 199.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.9238, allocations: 14.69 kB / 1.003 GB, free: 199.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.9242, allocations: 83.27 kB / 1.003 GB, free: 199.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.9243, allocations: 16.81 kB / 1.003 GB, free: 199.1 MB / 0.7481 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.0002138/0.9245, allocations: 235 kB / 1.003 GB, free: 198.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.9246, allocations: 86.3 kB / 1.003 GB, free: 198.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.9252, allocations: 325.5 kB / 1.003 GB, free: 198.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.9252, allocations: 3.094 kB / 1.003 GB, free: 198.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9252, allocations: 0.7812 kB / 1.003 GB, free: 198.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.9252, allocations: 0.9062 kB / 1.003 GB, free: 198.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.927, allocations: 1.38 MB / 1.005 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.927, allocations: 7.781 kB / 1.005 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.9272, allocations: 41.39 kB / 1.005 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.9273, allocations: 5.719 kB / 1.005 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.9273, allocations: 17.14 kB / 1.005 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.9273, allocations: 4.938 kB / 1.005 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.9273, allocations: 8.688 kB / 1.005 GB, free: 197.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.928, allocations: 0.5159 MB / 1.005 GB, free: 197.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.9282, allocations: 190.5 kB / 1.006 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.9283, allocations: 9.781 kB / 1.006 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.9286, allocations: 19.02 kB / 1.006 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.9287, allocations: 33 kB / 1.006 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.9287, allocations: 9.094 kB / 1.006 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007701/0.9295, allocations: 0.6107 MB / 1.006 GB, free: 196.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9295, allocations: 0.5625 kB / 1.006 GB, free: 196.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006312/0.9301, allocations: 166.8 kB / 1.006 GB, free: 196.7 MB / 0.7481 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.001087/0.9312, allocations: 1.138 MB / 1.007 GB, free: 195.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.9318, allocations: 264.9 kB / 1.008 GB, free: 195.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9318, allocations: 1.25 kB / 1.008 GB, free: 195.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.932, allocations: 131 kB / 1.008 GB, free: 195.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.9337, allocations: 429.1 kB / 1.008 GB, free: 195.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.9401, allocations: 5.997 MB / 1.014 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.9405, allocations: 0.992 MB / 1.015 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005301/0.9411, allocations: 156.1 kB / 1.015 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.9413, allocations: 277.7 kB / 1.016 GB, free: 190.3 MB / 0.7481 GB Notification: Performance of SimCode: time 8.31e-07/0.9413, allocations: 0 / 1.016 GB, free: 190.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.9824, allocations: 20.79 MB / 1.036 GB, free: 175.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.719/9.701, allocations: 10.55 kB / 1.036 GB, free: 175.7 MB / 0.7481 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)