Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007038/0.0007035, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007441/0.000744, allocations: 175.8 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5914/0.5914, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002675, allocations: 8 kB / 493.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1153, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3688/0.4841, allocations: 165.3 MB / 0.7183 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005042/0.4892, allocations: 4.209 MB / 0.7224 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.4896, allocations: 19.88 kB / 0.7224 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.4901, allocations: 166.7 kB / 0.7226 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.4913, allocations: 0.5791 MB / 0.7231 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.4939, allocations: 1.05 MB / 0.7242 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.4952, allocations: 1.441 MB / 0.7256 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004273/0.4957, allocations: 348 kB / 0.7259 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007499/0.4964, allocations: 0.5175 MB / 0.7264 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.4968, allocations: 390.4 kB / 0.7268 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.4969, allocations: 28 kB / 0.7268 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.4984, allocations: 0.7833 MB / 0.7276 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.4986, allocations: 167.4 kB / 0.7277 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.4987, allocations: 133.4 kB / 0.7279 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.4995, allocations: 0.7717 MB / 0.7286 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4995, allocations: 0 / 0.7286 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4995, allocations: 0 / 0.7286 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4995, allocations: 0 / 0.7286 GB, free: 10.91 MB / 0.545 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.00131/0.5009, allocations: 0.9326 MB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.5009, allocations: 8.031 kB / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.376e-05/0.501, allocations: 90.52 kB / 0.7296 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.5027, allocations: 279 kB / 0.7299 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.5033, allocations: 433.8 kB / 0.7303 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.5034, allocations: 29 kB / 0.7303 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.5034, allocations: 47.98 kB / 0.7304 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/0.5043, allocations: 0.5625 MB / 0.7309 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5044, allocations: 7.953 kB / 0.7309 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.5044, allocations: 16 kB / 0.731 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5044, allocations: 8 kB / 0.731 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009069/0.5053, allocations: 487.5 kB / 0.7314 GB, free: 7.891 MB / 0.545 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.00213/0.5075, allocations: 2.123 MB / 0.7335 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/0.5083, allocations: 434.4 kB / 0.7339 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.5088, allocations: 240.7 kB / 0.7341 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.5094, allocations: 412.3 kB / 0.7345 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.5099, allocations: 311.5 kB / 0.7348 GB, free: 4.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 3.346e-06/0.5099, allocations: 0 / 0.7348 GB, free: 4.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001545/0.5115, allocations: 0.744 MB / 0.7356 GB, free: 3.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5115, allocations: 59.41 kB / 0.7356 GB, free: 3.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.5121, allocations: 494 kB / 0.7361 GB, free: 2.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.5121, allocations: 37.7 kB / 0.7361 GB, free: 2.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.5123, allocations: 256.1 kB / 0.7364 GB, free: 2.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/0.5124, allocations: 130.2 kB / 0.7365 GB, free: 2.434 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.5124, allocations: 8 kB / 0.7365 GB, free: 2.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5125, allocations: 362.8 kB / 0.7368 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.513, allocations: 208.8 kB / 0.737 GB, free: 1.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.5135, allocations: 332.1 kB / 0.7374 GB, free: 1.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.514, allocations: 291.2 kB / 0.7376 GB, free: 1.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.514, allocations: 0 / 0.7376 GB, free: 1.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001128/0.5151, allocations: 0.6803 MB / 0.7383 GB, free: 0.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.5152, allocations: 59.41 kB / 0.7384 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5152, allocations: 7.953 kB / 0.7384 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5152, allocations: 11.88 kB / 0.7384 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.5156, allocations: 108.1 kB / 0.7385 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.5157, allocations: 4 kB / 0.7385 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.5161, allocations: 91.47 kB / 0.7386 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.5162, allocations: 24 kB / 0.7386 GB, free: 192 kB / 0.545 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 () * Number of clocked 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.0002107/0.5164, allocations: 191 kB / 0.7388 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.5165, allocations: 55.34 kB / 0.7388 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.5176, allocations: 0.5757 MB / 0.7394 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5176, allocations: 7.953 kB / 0.7394 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5176, allocations: 0 / 0.7394 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5176, allocations: 3.984 kB / 0.7394 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.5196, allocations: 1.378 MB / 0.7407 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5196, allocations: 4 kB / 0.7408 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.52, allocations: 84.31 kB / 0.7408 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.52, allocations: 4 kB / 0.7408 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.52, allocations: 16 kB / 0.7409 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5201, allocations: 4 kB / 0.7409 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5201, allocations: 7.938 kB / 0.7409 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.5216, allocations: 0.9802 MB / 0.7418 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.5218, allocations: 172.3 kB / 0.742 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.5218, allocations: 19.92 kB / 0.742 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.5222, allocations: 48.02 kB / 0.742 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5224, allocations: 51.83 kB / 0.7421 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.5224, allocations: 16 kB / 0.7421 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000352/0.5228, allocations: 346.8 kB / 0.7424 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5228, allocations: 0 / 0.7424 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004993/0.5233, allocations: 147.8 kB / 0.7426 GB, free: 11.91 MB / 0.5606 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) * Number of clocked states: 0 () * 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.001984/0.5253, allocations: 1.622 MB / 0.7442 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.5263, allocations: 0.612 MB / 0.7448 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5263, allocations: 0 / 0.7448 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.5269, allocations: 308.7 kB / 0.7451 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5281, allocations: 279.7 kB / 0.7453 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.5329, allocations: 3.379 MB / 0.7486 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.5333, allocations: 0.8668 MB / 0.7495 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004894/0.5338, allocations: 124.7 kB / 0.7496 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.534, allocations: 175.4 kB / 0.7498 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.534, allocations: 3.938 kB / 0.7498 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.5599, allocations: 14.8 MB / 0.7642 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.5602, allocations: 226.2 kB / 0.7644 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.374, allocations: 0 / 0.7644 GB, free: 5.605 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: