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.7065/0.7065, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000957/0.0009571, allocations: 184.8 kB / 169.7 MB, free: 1.75 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.504/1.504, allocations: 205.1 MB / 404.5 MB, free: 1.637 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.0007811/0.0007812, allocations: 92.81 kB / 481.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.871e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 76.76 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.24/5.38, allocations: 2.138 GB / 2.767 GB, free: 190.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/5.38, allocations: 87.95 kB / 2.767 GB, free: 190.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.164/6.545, allocations: 424.3 MB / 3.181 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.313e-06/6.545, allocations: 0 / 3.181 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.833e-05/6.545, allocations: 24.12 kB / 3.181 GB, free: 19.39 MB / 0.6511 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.001787/6.546, allocations: 0.9919 MB / 3.182 GB, free: 18.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/6.546, allocations: 12.03 kB / 3.182 GB, free: 18.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.06e-05/6.547, allocations: 74.53 kB / 3.182 GB, free: 18.25 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/6.548, allocations: 283 kB / 3.182 GB, free: 17.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/6.549, allocations: 464 kB / 3.183 GB, free: 17.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/6.549, allocations: 29 kB / 3.183 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/6.549, allocations: 51.98 kB / 3.183 GB, free: 17.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/6.55, allocations: 491.7 kB / 3.183 GB, free: 16.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/6.55, allocations: 7.938 kB / 3.183 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/6.55, allocations: 16 kB / 3.183 GB, free: 16.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/6.55, allocations: 8 kB / 3.183 GB, free: 16.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/6.551, allocations: 366.9 kB / 3.184 GB, free: 16.5 MB / 0.6511 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.002095/6.553, allocations: 2.13 MB / 3.186 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/6.553, allocations: 366.6 kB / 3.186 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/6.553, allocations: 165.4 kB / 3.186 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/6.554, allocations: 396.6 kB / 3.187 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/6.554, allocations: 247.1 kB / 3.187 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/6.554, allocations: 4 kB / 3.187 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0008231/6.555, allocations: 404.7 kB / 3.187 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/6.555, allocations: 67.19 kB / 3.187 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/6.556, allocations: 416 kB / 3.188 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/6.556, allocations: 37.69 kB / 3.188 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/6.556, allocations: 272 kB / 3.188 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/6.556, allocations: 110.4 kB / 3.188 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/6.556, allocations: 12 kB / 3.188 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/6.556, allocations: 358.8 kB / 3.189 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/6.556, allocations: 148.8 kB / 3.189 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/6.556, allocations: 261.6 kB / 3.189 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/6.557, allocations: 227.2 kB / 3.189 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/6.557, allocations: 0 / 3.189 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000674/6.557, allocations: 0.531 MB / 3.19 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/6.557, allocations: 67.39 kB / 3.19 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/6.557, allocations: 4.312 kB / 3.19 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/6.557, allocations: 8 kB / 3.19 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/6.558, allocations: 95.88 kB / 3.19 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/6.558, allocations: 7.953 kB / 3.19 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/6.558, allocations: 91.39 kB / 3.19 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/6.559, allocations: 23.98 kB / 3.19 GB, free: 9.766 MB / 0.6511 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 9.635e-05/6.559, allocations: 136.2 kB / 3.19 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/6.559, allocations: 51.34 kB / 3.19 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000691/6.559, allocations: 447 kB / 3.191 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/6.559, allocations: 4 kB / 3.191 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/6.559, allocations: 3.938 kB / 3.191 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/6.559, allocations: 7.938 kB / 3.191 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/6.561, allocations: 1.171 MB / 3.192 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/6.561, allocations: 7.938 kB / 3.192 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/6.561, allocations: 84.2 kB / 3.192 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/6.561, allocations: 8 kB / 3.192 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/6.561, allocations: 8.062 kB / 3.192 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/6.561, allocations: 11.98 kB / 3.192 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/6.561, allocations: 4 kB / 3.192 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/6.562, allocations: 0.9046 MB / 3.193 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/6.562, allocations: 136.4 kB / 3.193 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/6.562, allocations: 8 kB / 3.193 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/6.563, allocations: 52.02 kB / 3.193 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/6.563, allocations: 55.81 kB / 3.193 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/6.563, allocations: 12 kB / 3.193 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002751/6.563, allocations: 333.6 kB / 3.193 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/6.563, allocations: 0 / 3.193 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009585/6.564, allocations: 287.9 kB / 3.194 GB, free: 5.812 MB / 0.6511 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.002873/6.567, allocations: 3.649 MB / 3.197 GB, free: 2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006207/6.568, allocations: 482.2 kB / 3.198 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/6.568, allocations: 4.625 kB / 3.198 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/6.568, allocations: 231.7 kB / 3.198 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/6.569, allocations: 263 kB / 3.198 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/6.571, allocations: 0.9327 MB / 3.199 GB, free: 16 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.378/6.949, allocations: 0.8674 MB / 3.2 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008242/6.95, allocations: 116.9 kB / 3.2 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/6.95, allocations: 174.9 kB / 3.2 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/6.95, allocations: 0 / 3.2 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0814/7.032, allocations: 41.19 MB / 3.24 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/7.032, allocations: 196.9 kB / 3.241 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/10.6, allocations: 2.938 kB / 3.241 GB, free: 120.5 MB / 0.6511 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)