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.7758/0.7758, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001151/0.001151, allocations: 194.2 kB / 173.7 MB, free: 6.125 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.91/1.91, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009353/0.0009351, allocations: 93.34 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 13.56 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 76.76 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.62/5.797, allocations: 2.138 GB / 2.774 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/5.797, allocations: 97.48 kB / 2.774 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.177/6.974, allocations: 424.7 MB / 3.189 GB, free: 16.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.583e-06/6.975, allocations: 0 / 3.189 GB, free: 16.51 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.042e-05/6.975, allocations: 23.98 kB / 3.189 GB, free: 16.48 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.00222/6.977, allocations: 1.077 MB / 3.19 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/6.977, allocations: 8.031 kB / 3.19 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.28e-05/6.977, allocations: 78.53 kB / 3.19 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/6.979, allocations: 282.9 kB / 3.19 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/6.98, allocations: 453.7 kB / 3.191 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/6.98, allocations: 40.98 kB / 3.191 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/6.98, allocations: 44 kB / 3.191 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/6.981, allocations: 0.5468 MB / 3.191 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/6.981, allocations: 0 / 3.191 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/6.981, allocations: 16 kB / 3.191 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/6.981, allocations: 8 kB / 3.191 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/6.982, allocations: 487.5 kB / 3.192 GB, free: 13.33 MB / 0.6511 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.002095/6.984, allocations: 2.135 MB / 3.194 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/6.985, allocations: 467.6 kB / 3.194 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/6.985, allocations: 396.6 kB / 3.195 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/6.986, allocations: 291.3 kB / 3.195 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/6.986, allocations: 0 / 3.195 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.00157/6.987, allocations: 0.6917 MB / 3.196 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/6.987, allocations: 67.3 kB / 3.196 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/6.988, allocations: 429.2 kB / 3.196 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/6.988, allocations: 37.7 kB / 3.196 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/6.988, allocations: 264.1 kB / 3.196 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/6.988, allocations: 114.3 kB / 3.196 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/6.988, allocations: 15.94 kB / 3.196 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/6.988, allocations: 366.8 kB / 3.197 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/6.989, allocations: 200.7 kB / 3.197 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/6.989, allocations: 324.2 kB / 3.197 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/6.99, allocations: 288.1 kB / 3.198 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/6.99, allocations: 0 / 3.198 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00108/6.991, allocations: 0.6481 MB / 3.198 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/6.991, allocations: 61.75 kB / 3.198 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/6.991, allocations: 4 kB / 3.198 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/6.991, allocations: 4 kB / 3.198 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/6.991, allocations: 104.1 kB / 3.198 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/6.991, allocations: 4 kB / 3.198 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/6.992, allocations: 95.42 kB / 3.198 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/6.992, allocations: 27.94 kB / 3.198 GB, free: 6.012 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 () * Number of clocked 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.000213/6.992, allocations: 186 kB / 3.199 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/6.992, allocations: 51.34 kB / 3.199 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/6.993, allocations: 0.5542 MB / 3.199 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/6.993, allocations: 4 kB / 3.199 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/6.993, allocations: 0 / 3.199 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/6.993, allocations: 0 / 3.199 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/6.995, allocations: 1.283 MB / 3.2 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/6.995, allocations: 4 kB / 3.2 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/6.996, allocations: 75.89 kB / 3.201 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/6.996, allocations: 8 kB / 3.201 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/6.996, allocations: 12.33 kB / 3.201 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/6.996, allocations: 12.06 kB / 3.201 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/6.996, allocations: 4 kB / 3.201 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/6.997, allocations: 1.079 MB / 3.202 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/6.997, allocations: 128.4 kB / 3.202 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/6.997, allocations: 15.98 kB / 3.202 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/6.998, allocations: 51.89 kB / 3.202 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/6.998, allocations: 51.89 kB / 3.202 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/6.998, allocations: 16 kB / 3.202 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003698/6.998, allocations: 338.8 kB / 3.202 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/6.998, allocations: 4 kB / 3.202 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001198/7, allocations: 287.8 kB / 3.202 GB, free: 1.609 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) * Number of clocked states: 0 () * 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.4361/7.436, allocations: 3.829 MB / 3.206 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001297/7.437, allocations: 0.582 MB / 3.207 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/7.437, allocations: 7.781 kB / 3.207 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005988/7.438, allocations: 287.7 kB / 3.207 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/7.439, allocations: 264.4 kB / 3.207 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/7.445, allocations: 4.813 MB / 3.212 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/7.445, allocations: 0.8738 MB / 3.213 GB, free: 119 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005787/7.446, allocations: 118.9 kB / 3.213 GB, free: 119 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/7.446, allocations: 174.8 kB / 3.213 GB, free: 119 MB / 0.6511 GB Notification: Performance of SimCode: time 5.23e-06/7.446, allocations: 0 / 3.213 GB, free: 119 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08056/7.527, allocations: 37.22 MB / 3.25 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/7.527, allocations: 221.5 kB / 3.25 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.701/11.23, allocations: 0 / 3.25 GB, free: 118.3 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)