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.001156/0.001156, allocations: 108.9 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 189.4 kB / 17.2 MB, free: 5.574 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.291/1.291, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7535/0.7535, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.4912 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.303, allocations: 77.93 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1731/0.4761, allocations: 181.8 MB / 0.7448 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3092/0.7854, allocations: 4.448 MB / 0.7491 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.7862, allocations: 23.22 kB / 0.7492 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.787, allocations: 246.8 kB / 0.7494 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.7888, allocations: 0.75 MB / 0.7501 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.7919, allocations: 1.516 MB / 0.7516 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.7933, allocations: 1.255 MB / 0.7528 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008277/0.7942, allocations: 449 kB / 0.7533 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.7956, allocations: 0.5718 MB / 0.7538 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.7962, allocations: 409.5 kB / 0.7542 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.7963, allocations: 46 kB / 0.7543 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.7996, allocations: 1.54 MB / 0.7558 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.7999, allocations: 183.6 kB / 0.7559 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.8003, allocations: 310.7 kB / 0.7562 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.8021, allocations: 1.288 MB / 0.7575 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8021, allocations: 2 kB / 0.7575 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8022, allocations: 0 / 0.7575 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.8022, allocations: 3.188 kB / 0.7575 GB, free: 1.617 MB / 0.5762 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.001737/0.8039, allocations: 1.016 MB / 0.7585 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.804, allocations: 12.05 kB / 0.7585 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.371e-05/0.8041, allocations: 78.5 kB / 0.7586 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.8061, allocations: 283.5 kB / 0.7588 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.8068, allocations: 451.8 kB / 0.7593 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.8068, allocations: 31.31 kB / 0.7593 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.8069, allocations: 44.61 kB / 0.7593 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.808, allocations: 0.5478 MB / 0.7599 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.808, allocations: 1.125 kB / 0.7599 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.8081, allocations: 21.05 kB / 0.7599 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.8081, allocations: 10.94 kB / 0.7599 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.8093, allocations: 458.7 kB / 0.7603 GB, free: 16.52 MB / 0.5919 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.002491/0.8118, allocations: 2.133 MB / 0.7624 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/0.8128, allocations: 410.6 kB / 0.7628 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.8133, allocations: 225.7 kB / 0.763 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/0.814, allocations: 400.9 kB / 0.7634 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/0.8146, allocations: 296.8 kB / 0.7637 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.8146, allocations: 0.875 kB / 0.7637 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001841/0.8165, allocations: 0.682 MB / 0.7644 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.8165, allocations: 60.66 kB / 0.7644 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.8171, allocations: 0.4894 MB / 0.7649 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.8172, allocations: 36.42 kB / 0.7649 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.8173, allocations: 261.5 kB / 0.7652 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.8174, allocations: 125.1 kB / 0.7653 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.8176, allocations: 89.81 kB / 0.7654 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8178, allocations: 369 kB / 0.7657 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.8183, allocations: 197.7 kB / 0.7659 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.8188, allocations: 313.2 kB / 0.7662 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.8199, allocations: 0.5433 MB / 0.7668 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8199, allocations: 3.125 kB / 0.7668 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001326/0.8212, allocations: 0.6444 MB / 0.7674 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.8213, allocations: 63.44 kB / 0.7675 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8213, allocations: 4.25 kB / 0.7675 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.8213, allocations: 6.531 kB / 0.7675 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.8218, allocations: 97.45 kB / 0.7676 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.8218, allocations: 10.8 kB / 0.7676 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.8224, allocations: 76.91 kB / 0.7676 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.8225, allocations: 23.97 kB / 0.7677 GB, free: 13.48 MB / 0.5919 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.8227, allocations: 200.6 kB / 0.7679 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.8228, allocations: 52.59 kB / 0.7679 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.8241, allocations: 0.5385 MB / 0.7684 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.8241, allocations: 4.031 kB / 0.7684 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8241, allocations: 1 kB / 0.7684 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.8242, allocations: 5.219 kB / 0.7684 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.8264, allocations: 1.352 MB / 0.7698 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.8264, allocations: 2.969 kB / 0.7698 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.8269, allocations: 80.14 kB / 0.7698 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.8269, allocations: 6.125 kB / 0.7698 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.8269, allocations: 12.77 kB / 0.7699 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.8269, allocations: 5.938 kB / 0.7699 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.827, allocations: 7.281 kB / 0.7699 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.8288, allocations: 0.9354 MB / 0.7708 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.8291, allocations: 177.3 kB / 0.771 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.8292, allocations: 10.22 kB / 0.771 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.8296, allocations: 34.52 kB / 0.771 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.8298, allocations: 54.2 kB / 0.771 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.8298, allocations: 11.69 kB / 0.7711 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000395/0.8302, allocations: 348.1 kB / 0.7714 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8302, allocations: 0.8125 kB / 0.7714 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006486/0.8309, allocations: 158 kB / 0.7715 GB, free: 12.33 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/0.8331, allocations: 1.57 MB / 0.7731 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.8343, allocations: 0.5891 MB / 0.7737 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8344, allocations: 0.9062 kB / 0.7737 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.835, allocations: 291.7 kB / 0.7739 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.8364, allocations: 281.2 kB / 0.7742 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007024/0.8434, allocations: 5.112 MB / 0.7792 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.8439, allocations: 0.8664 MB / 0.78 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005857/0.8445, allocations: 127.4 kB / 0.7802 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.8447, allocations: 172.4 kB / 0.7803 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.8447, allocations: 3.938 kB / 0.7803 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.8819, allocations: 15.7 MB / 0.7957 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.736, allocations: 1.312 kB / 0.7957 GB, free: 5.508 MB / 0.5919 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/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)