Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 289.9 MB / 297.4 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 180.8 kB / 366.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007954/0.0007953, allocations: 81.81 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.56e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6711, allocations: 116.3 MB / 0.9733 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.614/5.285, allocations: 2.063 GB / 3.037 GB, free: 20.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/5.285, allocations: 83.02 kB / 3.037 GB, free: 20.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.116/7.402, allocations: 420.8 MB / 3.448 GB, free: 226.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.023e-06/7.402, allocations: 0 / 3.448 GB, free: 226.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.411e-05/7.402, allocations: 18.34 kB / 3.448 GB, free: 226.7 MB / 0.948 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.002401/7.404, allocations: 0.9877 MB / 3.449 GB, free: 226.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/7.404, allocations: 7.625 kB / 3.449 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/7.406, allocations: 284 kB / 3.449 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/7.407, allocations: 455.4 kB / 3.449 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/7.407, allocations: 16.7 kB / 3.449 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/7.408, allocations: 28.38 kB / 3.449 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000566/7.408, allocations: 320.3 kB / 3.45 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/7.409, allocations: 452.1 kB / 3.45 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/7.409, allocations: 0 / 3.45 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/7.409, allocations: 3.312 kB / 3.45 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/7.409, allocations: 10.03 kB / 3.45 GB, free: 225.9 MB / 0.948 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.002339/7.411, allocations: 2.032 MB / 3.452 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/7.412, allocations: 305.7 kB / 3.453 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/7.412, allocations: 171 kB / 3.453 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/7.413, allocations: 392.2 kB / 3.453 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/7.413, allocations: 226.8 kB / 3.453 GB, free: 224.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 1.834e-06/7.413, allocations: 3.406 kB / 3.453 GB, free: 224.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.001098/7.414, allocations: 447 kB / 3.454 GB, free: 224.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/7.414, allocations: 58.91 kB / 3.454 GB, free: 224.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/7.414, allocations: 309 kB / 3.454 GB, free: 224 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/7.414, allocations: 33.92 kB / 3.454 GB, free: 224 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/7.414, allocations: 276 kB / 3.454 GB, free: 223.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/7.415, allocations: 115.8 kB / 3.454 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/7.415, allocations: 3.75 kB / 3.454 GB, free: 223.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/7.415, allocations: 358 kB / 3.455 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/7.415, allocations: 137.8 kB / 3.455 GB, free: 223.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/7.415, allocations: 258.8 kB / 3.455 GB, free: 223.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/7.416, allocations: 221.9 kB / 3.455 GB, free: 223.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/7.416, allocations: 6.969 kB / 3.455 GB, free: 223.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008465/7.416, allocations: 0.4981 MB / 3.456 GB, free: 223.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/7.416, allocations: 66.19 kB / 3.456 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/7.416, allocations: 3.781 kB / 3.456 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/7.417, allocations: 6.688 kB / 3.456 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/7.417, allocations: 105.8 kB / 3.456 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/7.417, allocations: 6.5 kB / 3.456 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/7.418, allocations: 73.78 kB / 3.456 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/7.418, allocations: 24.22 kB / 3.456 GB, free: 223.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (53): * Single equations (assignments): 51 * 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.0001151/7.418, allocations: 128.2 kB / 3.456 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006681/7.418, allocations: 412.5 kB / 3.457 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/7.418, allocations: 45.34 kB / 3.457 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/7.419, allocations: 469.3 kB / 3.457 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/7.419, allocations: 3.406 kB / 3.457 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/7.419, allocations: 0 / 3.457 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/7.419, allocations: 3.094 kB / 3.457 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/7.421, allocations: 1.202 MB / 3.458 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/7.421, allocations: 9.078 kB / 3.458 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/7.422, allocations: 90.5 kB / 3.458 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/7.422, allocations: 6.156 kB / 3.458 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/7.422, allocations: 7.594 kB / 3.458 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/7.422, allocations: 7.422 kB / 3.458 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/7.422, allocations: 7.719 kB / 3.458 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/7.423, allocations: 0.9677 MB / 3.459 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/7.423, allocations: 154.8 kB / 3.46 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/7.423, allocations: 3.719 kB / 3.46 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/7.424, allocations: 55.66 kB / 3.46 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/7.424, allocations: 55.64 kB / 3.46 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/7.424, allocations: 14.28 kB / 3.46 GB, free: 222 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002055/7.424, allocations: 241.9 kB / 3.46 GB, free: 221.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.483e-06/7.424, allocations: 0 / 3.46 GB, free: 221.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009183/7.425, allocations: 236.6 kB / 3.46 GB, free: 221.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (37): * Single equations (assignments): 33 * 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.003499/7.428, allocations: 4.025 MB / 3.464 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005885/7.429, allocations: 474.9 kB / 3.465 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/7.429, allocations: 7.062 kB / 3.465 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/7.429, allocations: 231.5 kB / 3.465 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/7.43, allocations: 180.9 kB / 3.465 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/7.432, allocations: 0.9026 MB / 3.466 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/7.432, allocations: 0.8778 MB / 3.467 GB, free: 218.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004637/7.433, allocations: 103.5 kB / 3.467 GB, free: 218.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/7.433, allocations: 171.3 kB / 3.467 GB, free: 218.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/7.433, allocations: 2.844 kB / 3.467 GB, free: 218.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05712/7.49, allocations: 22.75 MB / 3.489 GB, free: 218.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/7.49, allocations: 168.8 kB / 3.489 GB, free: 218 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/10.36, allocations: 4.469 kB / 3.489 GB, free: 218 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)