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.001571/0.00157, 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.001572/0.001572, allocations: 193.8 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 275.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 95.58 kB / 0.6065 GB, free: 24.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1568, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.4624/0.6192, allocations: 194.1 MB / 0.8831 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.6314, allocations: 10.04 MB / 0.8929 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.6325, allocations: 35.81 kB / 0.893 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.6336, allocations: 401 kB / 0.8934 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.6362, allocations: 1.023 MB / 0.8944 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.6392, allocations: 1.285 MB / 0.8956 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.6412, allocations: 1.695 MB / 0.8973 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.6423, allocations: 0.8355 MB / 0.8981 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.6451, allocations: 1.424 MB / 0.8995 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.6458, allocations: 0.5212 MB / 0.9 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.6459, allocations: 64 kB / 0.9 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.6484, allocations: 1.411 MB / 0.9014 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.6487, allocations: 343.1 kB / 0.9017 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.6492, allocations: 441.8 kB / 0.9022 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.6511, allocations: 1.476 MB / 0.9036 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6511, allocations: 0 / 0.9036 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6511, allocations: 0 / 0.9036 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6512, allocations: 0 / 0.9036 GB, free: 4.398 MB / 0.6231 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.001592/0.6528, allocations: 1.148 MB / 0.9047 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6528, allocations: 12.03 kB / 0.9047 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.6529, allocations: 122.6 kB / 0.9049 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.6547, allocations: 290.6 kB / 0.9051 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.6555, allocations: 0.5349 MB / 0.9057 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.6555, allocations: 65.92 kB / 0.9057 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.6556, allocations: 68 kB / 0.9058 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.657, allocations: 0.8986 MB / 0.9067 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.657, allocations: 7.938 kB / 0.9067 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.6571, allocations: 33.31 kB / 0.9067 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.6572, allocations: 37.3 kB / 0.9067 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6582, allocations: 0.5709 MB / 0.9073 GB, free: 476 kB / 0.6231 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.003722/0.6619, allocations: 3.517 MB / 0.9107 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.6623, allocations: 223.7 kB / 0.9109 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.6626, allocations: 142.8 kB / 0.9111 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008582/0.6635, allocations: 489.4 kB / 0.9115 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.6635, allocations: 46.45 kB / 0.9116 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.6635, allocations: 0 / 0.9116 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.001218/0.6647, allocations: 449.7 kB / 0.912 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.6648, allocations: 110.7 kB / 0.9121 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.6659, allocations: 0.8683 MB / 0.913 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.6659, allocations: 29.7 kB / 0.913 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.6663, allocations: 383.8 kB / 0.9134 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.6663, allocations: 74.94 kB / 0.9134 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6665, allocations: 61.61 kB / 0.9135 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6666, allocations: 322 kB / 0.9138 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.6668, allocations: 99.92 kB / 0.9139 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.6672, allocations: 215.5 kB / 0.9141 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.6677, allocations: 319.5 kB / 0.9144 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6677, allocations: 0 / 0.9144 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007062/0.6684, allocations: 404.2 kB / 0.9148 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6684, allocations: 4 kB / 0.9148 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.6685, allocations: 4 kB / 0.9148 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6685, allocations: 7.938 kB / 0.9148 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.6688, allocations: 64.19 kB / 0.9149 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.6688, allocations: 8 kB / 0.9149 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.6692, allocations: 75.11 kB / 0.9149 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.6693, allocations: 16 kB / 0.915 GB, free: 8.133 MB / 0.6387 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.0002684/0.6696, allocations: 238.2 kB / 0.9152 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6697, allocations: 75.06 kB / 0.9153 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006146/0.6703, allocations: 322.5 kB / 0.9156 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6703, allocations: 3.938 kB / 0.9156 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6703, allocations: 6 kB / 0.9156 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6703, allocations: 0 / 0.9156 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.6724, allocations: 1.365 MB / 0.9169 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6724, allocations: 4 kB / 0.9169 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.6726, allocations: 43.92 kB / 0.917 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.6726, allocations: 8 kB / 0.917 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.6726, allocations: 11.92 kB / 0.917 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.6727, allocations: 15.88 kB / 0.917 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6727, allocations: 4.438 kB / 0.917 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.6733, allocations: 0.5139 MB / 0.9175 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.6736, allocations: 188.1 kB / 0.9177 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.6737, allocations: 8 kB / 0.9177 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.674, allocations: 19.92 kB / 0.9177 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.6741, allocations: 31.91 kB / 0.9177 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.6741, allocations: 13.31 kB / 0.9177 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007713/0.6749, allocations: 0.6122 MB / 0.9183 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6749, allocations: 0 / 0.9183 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005567/0.6755, allocations: 163.9 kB / 0.9185 GB, free: 4.301 MB / 0.6387 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.001317/0.6768, allocations: 1.147 MB / 0.9196 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006003/0.6774, allocations: 264 kB / 0.9199 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6774, allocations: 3.938 kB / 0.9199 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.6777, allocations: 127.7 kB / 0.92 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.6796, allocations: 436.6 kB / 0.9204 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008344/0.688, allocations: 6.284 MB / 0.9266 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.6887, allocations: 0.9917 MB / 0.9275 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005913/0.6893, allocations: 162.2 kB / 0.9277 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.6896, allocations: 271.4 kB / 0.9279 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.6896, allocations: 0 / 0.9279 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.7388, allocations: 20.6 MB / 0.9481 GB, free: 6.008 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.522, allocations: 7.969 kB / 0.9481 GB, free: 6 MB / 0.67 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)