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.0007198/0.0007197, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005114/0.005114, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 282.1 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9109/0.9109, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 18.56 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.4776/0.6272, allocations: 189.3 MB / 0.8701 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.6375, allocations: 9.921 MB / 0.8798 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005956/0.6382, allocations: 22.72 kB / 0.8798 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.6389, allocations: 313.6 kB / 0.8801 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.6411, allocations: 0.9722 MB / 0.8811 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.6437, allocations: 1.188 MB / 0.8822 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001996/0.6457, allocations: 2.341 MB / 0.8845 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008475/0.6466, allocations: 0.7003 MB / 0.8852 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.6491, allocations: 1.293 MB / 0.8865 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.6497, allocations: 0.5235 MB / 0.887 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.6498, allocations: 36 kB / 0.887 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.6521, allocations: 1.648 MB / 0.8886 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.6524, allocations: 323 kB / 0.8889 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.6528, allocations: 419.5 kB / 0.8893 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.6544, allocations: 1.558 MB / 0.8908 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6544, allocations: 0 / 0.8908 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6544, allocations: 0 / 0.8908 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.6545, allocations: 0 / 0.8908 GB, free: 13.21 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001261/0.6557, allocations: 0.9868 MB / 0.8918 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6558, allocations: 12.03 kB / 0.8918 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.6559, allocations: 118.6 kB / 0.8919 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.6575, allocations: 298.6 kB / 0.8922 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.6583, allocations: 0.5271 MB / 0.8927 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.6583, allocations: 61.98 kB / 0.8928 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-05/0.6584, allocations: 72 kB / 0.8929 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.6597, allocations: 0.9025 MB / 0.8937 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6597, allocations: 4 kB / 0.8937 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.6598, allocations: 32 kB / 0.8938 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/0.6598, allocations: 37.3 kB / 0.8938 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009719/0.6608, allocations: 0.5905 MB / 0.8944 GB, free: 9.426 MB / 0.6075 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.003145/0.664, allocations: 3.51 MB / 0.8978 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.6643, allocations: 223.7 kB / 0.898 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.6646, allocations: 154.8 kB / 0.8982 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000764/0.6653, allocations: 497.4 kB / 0.8986 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6654, allocations: 54.44 kB / 0.8987 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.6654, allocations: 0 / 0.8987 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001125/0.6665, allocations: 470.5 kB / 0.8991 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.6666, allocations: 106.8 kB / 0.8993 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/0.6675, allocations: 0.8645 MB / 0.9001 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.6676, allocations: 29.7 kB / 0.9001 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.6679, allocations: 387.9 kB / 0.9005 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.6679, allocations: 74.94 kB / 0.9006 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.668, allocations: 33.64 kB / 0.9006 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6681, allocations: 314 kB / 0.9009 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.6683, allocations: 107.9 kB / 0.901 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.6686, allocations: 223 kB / 0.9012 GB, free: 2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.6692, allocations: 324.5 kB / 0.9015 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6692, allocations: 0 / 0.9015 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006606/0.6698, allocations: 410.7 kB / 0.9019 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6699, allocations: 8 kB / 0.9019 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6699, allocations: 8.281 kB / 0.9019 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6699, allocations: 11.94 kB / 0.9019 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.6702, allocations: 63.91 kB / 0.902 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6702, allocations: 7.938 kB / 0.902 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.6706, allocations: 91.09 kB / 0.9021 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.6707, allocations: 16 kB / 0.9021 GB, free: 1.035 MB / 0.6075 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.0002415/0.6709, allocations: 234.3 kB / 0.9023 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.671, allocations: 79.06 kB / 0.9024 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.6717, allocations: 334.2 kB / 0.9027 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6717, allocations: 0 / 0.9027 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6717, allocations: 4 kB / 0.9027 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6717, allocations: 0 / 0.9027 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.6735, allocations: 1.377 MB / 0.9041 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6735, allocations: 4.5 kB / 0.9041 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.6737, allocations: 48.45 kB / 0.9041 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6737, allocations: 4 kB / 0.9041 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.6738, allocations: 16 kB / 0.9041 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.6738, allocations: 11.98 kB / 0.9042 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.6738, allocations: 7.938 kB / 0.9042 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.6744, allocations: 0.5285 MB / 0.9047 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.6746, allocations: 184.1 kB / 0.9049 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.6747, allocations: 12 kB / 0.9049 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.6751, allocations: 31.91 kB / 0.9049 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.6751, allocations: 27.86 kB / 0.9049 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.6752, allocations: 16 kB / 0.9049 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006904/0.6758, allocations: 0.6083 MB / 0.9055 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6759, allocations: 3.938 kB / 0.9055 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005099/0.6764, allocations: 167.8 kB / 0.9057 GB, free: 13.15 MB / 0.6231 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.001132/0.6775, allocations: 1.151 MB / 0.9068 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.678, allocations: 274.5 kB / 0.9071 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6781, allocations: 4.062 kB / 0.9071 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.6783, allocations: 127.7 kB / 0.9072 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.6805, allocations: 419.4 kB / 0.9076 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.6879, allocations: 6.515 MB / 0.914 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.6885, allocations: 0.9959 MB / 0.9149 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005099/0.689, allocations: 162.2 kB / 0.9151 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.6893, allocations: 275.3 kB / 0.9154 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of SimCode: time 1.964e-06/0.6893, allocations: 0 / 0.9154 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.7226, allocations: 19.67 MB / 0.9346 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.7229, allocations: 249.8 kB / 0.9348 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.726, allocations: 0 / 0.9348 GB, free: 15.3 MB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_T.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)