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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8689/0.8689, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 184.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009165, allocations: 92.03 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 280.9 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.126e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5143/0.5143, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.539, allocations: 1.834 GB / 2.591 GB, free: 183.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/5.539, allocations: 90.25 kB / 2.591 GB, free: 183.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.094/7.633, allocations: 0.6015 GB / 3.193 GB, free: 118.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/7.633, allocations: 0 / 3.193 GB, free: 118.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.538e-05/7.633, allocations: 31.52 kB / 3.193 GB, free: 118.1 MB / 0.698 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.002187/7.636, allocations: 1.116 MB / 3.194 GB, free: 117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/7.636, allocations: 11.91 kB / 3.194 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/7.637, allocations: 284.9 kB / 3.194 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/7.638, allocations: 0.5591 MB / 3.195 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/7.638, allocations: 27.98 kB / 3.195 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/7.638, allocations: 51.94 kB / 3.195 GB, free: 116 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000698/7.639, allocations: 459.9 kB / 3.195 GB, free: 115.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/7.64, allocations: 0.7374 MB / 3.196 GB, free: 114.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/7.64, allocations: 7.938 kB / 3.196 GB, free: 114.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/7.64, allocations: 3.953 kB / 3.196 GB, free: 114.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/7.64, allocations: 44.02 kB / 3.196 GB, free: 114.7 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.003115/7.643, allocations: 3.398 MB / 3.199 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/7.644, allocations: 171.8 kB / 3.199 GB, free: 111 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/7.644, allocations: 102.5 kB / 3.199 GB, free: 110.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/7.644, allocations: 397.5 kB / 3.2 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/7.644, allocations: 42.5 kB / 3.2 GB, free: 110.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.354e-06/7.644, allocations: 0 / 3.2 GB, free: 110.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001017/7.645, allocations: 294.3 kB / 3.2 GB, free: 110.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/7.645, allocations: 106.8 kB / 3.2 GB, free: 110 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/7.646, allocations: 353.1 kB / 3.201 GB, free: 109.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/7.646, allocations: 25.7 kB / 3.201 GB, free: 109.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/7.646, allocations: 425.4 kB / 3.201 GB, free: 109.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/7.646, allocations: 63.09 kB / 3.201 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/7.646, allocations: 0 / 3.201 GB, free: 109.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/7.646, allocations: 353.7 kB / 3.201 GB, free: 108.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/7.646, allocations: 79.95 kB / 3.202 GB, free: 108.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/7.647, allocations: 204.9 kB / 3.202 GB, free: 108.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/7.647, allocations: 143.5 kB / 3.202 GB, free: 108.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/7.647, allocations: 0 / 3.202 GB, free: 108.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005235/7.647, allocations: 345.9 kB / 3.202 GB, free: 107.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/7.647, allocations: 8 kB / 3.202 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/7.648, allocations: 4 kB / 3.202 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/7.648, allocations: 4 kB / 3.202 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/7.648, allocations: 59.91 kB / 3.202 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/7.648, allocations: 9.719 kB / 3.202 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/7.648, allocations: 42.19 kB / 3.202 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/7.648, allocations: 19.98 kB / 3.202 GB, free: 107.8 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/7.649, allocations: 115.8 kB / 3.202 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000421/7.649, allocations: 250.4 kB / 3.203 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/7.649, allocations: 43.44 kB / 3.203 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/7.65, allocations: 249.2 kB / 3.203 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/7.65, allocations: 0 / 3.203 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/7.65, allocations: 9.656 kB / 3.203 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/7.65, allocations: 3.703 kB / 3.203 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/7.651, allocations: 1.176 MB / 3.204 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/7.651, allocations: 7.062 kB / 3.204 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/7.651, allocations: 47.91 kB / 3.204 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/7.651, allocations: 11.95 kB / 3.204 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/7.651, allocations: 6.188 kB / 3.204 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/7.651, allocations: 4 kB / 3.204 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/7.651, allocations: 7.938 kB / 3.204 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/7.652, allocations: 0.6042 MB / 3.205 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/7.652, allocations: 148 kB / 3.205 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/7.652, allocations: 4 kB / 3.205 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/7.652, allocations: 27.97 kB / 3.205 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/7.653, allocations: 27.06 kB / 3.205 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/7.653, allocations: 8.094 kB / 3.205 GB, free: 104.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002252/7.653, allocations: 274.9 kB / 3.205 GB, free: 104.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/7.653, allocations: 0 / 3.205 GB, free: 104.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001042/7.654, allocations: 330.2 kB / 3.206 GB, free: 104.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003427/7.657, allocations: 4.292 MB / 3.21 GB, free: 100.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003756/7.658, allocations: 197 kB / 3.21 GB, free: 99.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/7.658, allocations: 0 / 3.21 GB, free: 99.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/7.658, allocations: 91.83 kB / 3.21 GB, free: 99.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/7.659, allocations: 186.8 kB / 3.21 GB, free: 99.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/7.661, allocations: 1.019 MB / 3.211 GB, free: 98.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/7.661, allocations: 1.007 MB / 3.212 GB, free: 97.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004171/7.661, allocations: 107 kB / 3.212 GB, free: 97.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/7.662, allocations: 243.4 kB / 3.213 GB, free: 97.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/7.662, allocations: 3.938 kB / 3.213 GB, free: 97.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/7.71, allocations: 26.4 MB / 3.238 GB, free: 71.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/7.71, allocations: 186.7 kB / 3.238 GB, free: 70.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/10.5, allocations: 0 / 3.238 GB, free: 70.91 MB / 0.698 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/linux/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)