Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7691/0.7691, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 188.8 kB / 164.7 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.2 MB / 399.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008661/0.000866, allocations: 98.02 kB / 476.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.35e-05, allocations: 8 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1635, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.238/5.401, allocations: 2.138 GB / 2.76 GB, free: 67.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.402, allocations: 87.45 kB / 2.76 GB, free: 67.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.572/6.974, allocations: 419 MB / 3.169 GB, free: 128.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/6.974, allocations: 3.312 kB / 3.169 GB, free: 128.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.951e-05/6.974, allocations: 15.5 kB / 3.169 GB, free: 128.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00206/6.976, allocations: 0.9949 MB / 3.17 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/6.976, allocations: 13.53 kB / 3.17 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/6.978, allocations: 275.9 kB / 3.17 GB, free: 128 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/6.978, allocations: 453.8 kB / 3.171 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/6.978, allocations: 14.28 kB / 3.171 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/6.979, allocations: 39.08 kB / 3.171 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005452/6.979, allocations: 323.5 kB / 3.171 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/6.98, allocations: 447.6 kB / 3.171 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/6.98, allocations: 2.875 kB / 3.171 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/6.98, allocations: 4 kB / 3.171 GB, free: 127.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/6.98, allocations: 14.09 kB / 3.171 GB, free: 127.4 MB / 0.6355 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.002025/6.982, allocations: 2.013 MB / 3.173 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/6.982, allocations: 350 kB / 3.174 GB, free: 125.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/6.983, allocations: 160 kB / 3.174 GB, free: 125.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/6.983, allocations: 403.4 kB / 3.174 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/6.983, allocations: 227.1 kB / 3.174 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 2.776e-06/6.983, allocations: 3.125 kB / 3.174 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.001021/6.984, allocations: 443.6 kB / 3.175 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/6.984, allocations: 55.28 kB / 3.175 GB, free: 125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/6.985, allocations: 299.7 kB / 3.175 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/6.985, allocations: 29.33 kB / 3.175 GB, free: 124.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/6.985, allocations: 279.8 kB / 3.176 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/6.985, allocations: 112.5 kB / 3.176 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/6.985, allocations: 0 / 3.176 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/6.985, allocations: 353.1 kB / 3.176 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/6.985, allocations: 134 kB / 3.176 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/6.986, allocations: 252.8 kB / 3.176 GB, free: 124 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/6.986, allocations: 211.7 kB / 3.177 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/6.986, allocations: 0 / 3.177 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007906/6.987, allocations: 0.4928 MB / 3.177 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/6.987, allocations: 73.75 kB / 3.177 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/6.987, allocations: 0 / 3.177 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/6.987, allocations: 9.562 kB / 3.177 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/6.987, allocations: 104.1 kB / 3.177 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/6.987, allocations: 3.75 kB / 3.177 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/6.988, allocations: 71.31 kB / 3.177 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/6.988, allocations: 24.3 kB / 3.177 GB, free: 123.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * 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.0001109/6.988, allocations: 124.1 kB / 3.177 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006393/6.989, allocations: 406.7 kB / 3.178 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/6.989, allocations: 50.52 kB / 3.178 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007923/6.99, allocations: 456.5 kB / 3.178 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/6.99, allocations: 7.688 kB / 3.178 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.99, allocations: 3.938 kB / 3.178 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/6.99, allocations: 3.562 kB / 3.178 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/6.991, allocations: 1.135 MB / 3.179 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/6.991, allocations: 2.875 kB / 3.179 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/6.992, allocations: 78.44 kB / 3.179 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/6.992, allocations: 7.875 kB / 3.179 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/6.992, allocations: 10.91 kB / 3.179 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/6.992, allocations: 11.52 kB / 3.179 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/6.992, allocations: 7.797 kB / 3.179 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/6.993, allocations: 0.9142 MB / 3.18 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/6.993, allocations: 123.5 kB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/6.993, allocations: 14.52 kB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/6.993, allocations: 40.78 kB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/6.993, allocations: 55.94 kB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/6.993, allocations: 15.72 kB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001912/6.994, allocations: 233.5 kB / 3.181 GB, free: 121.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/6.994, allocations: 0 / 3.181 GB, free: 121.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008756/6.994, allocations: 239.5 kB / 3.181 GB, free: 121.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003535/6.998, allocations: 3.861 MB / 3.185 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006122/6.999, allocations: 462.6 kB / 3.185 GB, free: 119 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/6.999, allocations: 0 / 3.185 GB, free: 119 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/6.999, allocations: 220.7 kB / 3.186 GB, free: 118.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009624/7, allocations: 175.8 kB / 3.186 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/7.002, allocations: 0.8854 MB / 3.187 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/7.002, allocations: 0.878 MB / 3.187 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004354/7.002, allocations: 101.4 kB / 3.187 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/7.003, allocations: 166.7 kB / 3.188 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/7.003, allocations: 0 / 3.188 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04644/7.049, allocations: 22.79 MB / 3.21 GB, free: 98.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/7.049, allocations: 173.7 kB / 3.21 GB, free: 97.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/9.782, allocations: 4 kB / 3.21 GB, free: 97.92 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)