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.001421/0.001421, allocations: 96.27 kB / 15.69 MB, free: 480 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.002439/0.002439, allocations: 177.1 kB / 16.57 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.396/2.396, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.202/1.202, allocations: 113.6 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.000538, allocations: 8 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2725, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.9349/1.207, allocations: 151.4 MB / 0.7045 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01239/1.22, allocations: 4.133 MB / 0.7086 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/1.221, allocations: 15.88 kB / 0.7086 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/1.223, allocations: 282.7 kB / 0.7088 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/1.227, allocations: 0.5804 MB / 0.7094 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005657/1.233, allocations: 0.9761 MB / 0.7104 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002749/1.236, allocations: 0.7489 MB / 0.7111 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/1.237, allocations: 361.2 kB / 0.7114 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/1.24, allocations: 0.6504 MB / 0.7121 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00072/1.241, allocations: 290.8 kB / 0.7124 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/1.241, allocations: 28 kB / 0.7124 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/1.244, allocations: 0.5928 MB / 0.713 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004424/1.244, allocations: 163.5 kB / 0.7131 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003631/1.244, allocations: 125.5 kB / 0.7132 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/1.246, allocations: 0.6439 MB / 0.7139 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.246, allocations: 0 / 0.7139 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.643e-06/1.246, allocations: 3.938 kB / 0.7139 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.246, allocations: 7.938 kB / 0.7139 GB, free: 9.176 MB / 0.5294 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.002895/1.249, allocations: 0.8821 MB / 0.7147 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.416e-05/1.249, allocations: 8.031 kB / 0.7147 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/1.249, allocations: 86.52 kB / 0.7148 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/1.253, allocations: 287 kB / 0.7151 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/1.255, allocations: 441.7 kB / 0.7155 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/1.255, allocations: 29 kB / 0.7156 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.255, allocations: 40 kB / 0.7156 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/1.257, allocations: 0.5625 MB / 0.7161 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/1.257, allocations: 3.953 kB / 0.7161 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/1.257, allocations: 16 kB / 0.7162 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/1.257, allocations: 8 kB / 0.7162 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/1.259, allocations: 491.5 kB / 0.7166 GB, free: 6.203 MB / 0.5294 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.004763/1.263, allocations: 2.12 MB / 0.7187 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/1.265, allocations: 450.4 kB / 0.7191 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/1.266, allocations: 145 kB / 0.7193 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.267, allocations: 333.1 kB / 0.7196 GB, free: 3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 4.028e-06/1.267, allocations: 0 / 0.7196 GB, free: 3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.003313/1.27, allocations: 0.7362 MB / 0.7203 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.271, allocations: 85.05 kB / 0.7204 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.272, allocations: 498.1 kB / 0.7209 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/1.272, allocations: 37.7 kB / 0.7209 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/1.272, allocations: 256.1 kB / 0.7211 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/1.272, allocations: 126.2 kB / 0.7213 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/1.273, allocations: 8 kB / 0.7213 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002858/1.273, allocations: 366.8 kB / 0.7216 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/1.274, allocations: 208.8 kB / 0.7218 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.275, allocations: 341.3 kB / 0.7221 GB, free: 288 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.276, allocations: 289.2 kB / 0.7224 GB, free: 15.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.276, allocations: 0 / 0.7224 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002456/1.278, allocations: 0.6846 MB / 0.7231 GB, free: 15.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.278, allocations: 63.81 kB / 0.7232 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.278, allocations: 8 kB / 0.7232 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/1.278, allocations: 7.953 kB / 0.7232 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/1.279, allocations: 103.8 kB / 0.7233 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/1.279, allocations: 11.92 kB / 0.7233 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.281, allocations: 99.41 kB / 0.7234 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/1.281, allocations: 20 kB / 0.7234 GB, free: 14.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0005102/1.281, allocations: 189.8 kB / 0.7236 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.281, allocations: 51.34 kB / 0.7236 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/1.283, allocations: 0.5338 MB / 0.7241 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/1.283, allocations: 7.953 kB / 0.7242 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.283, allocations: 0 / 0.7242 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/1.283, allocations: 0 / 0.7242 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/1.288, allocations: 1.467 MB / 0.7256 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.288, allocations: 8 kB / 0.7256 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/1.288, allocations: 83.83 kB / 0.7257 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/1.288, allocations: 8.406 kB / 0.7257 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/1.289, allocations: 19.98 kB / 0.7257 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/1.289, allocations: 8 kB / 0.7257 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.157e-05/1.289, allocations: 11.89 kB / 0.7257 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/1.292, allocations: 1.235 MB / 0.7269 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/1.293, allocations: 172.4 kB / 0.7271 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/1.293, allocations: 12 kB / 0.7271 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/1.294, allocations: 55.92 kB / 0.7272 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/1.294, allocations: 55.83 kB / 0.7272 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/1.294, allocations: 20.86 kB / 0.7272 GB, free: 10.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007691/1.295, allocations: 342.8 kB / 0.7276 GB, free: 10.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/1.295, allocations: 0 / 0.7276 GB, free: 10.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001228/1.296, allocations: 147.8 kB / 0.7277 GB, free: 10.22 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.005751/1.302, allocations: 3.183 MB / 0.7308 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002317/1.304, allocations: 0.6198 MB / 0.7314 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/1.304, allocations: 0 / 0.7314 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.305, allocations: 332.8 kB / 0.7317 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.308, allocations: 272.8 kB / 0.732 GB, free: 5.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.323, allocations: 5.34 MB / 0.7372 GB, free: 168 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009899/1.324, allocations: 0.8785 MB / 0.7381 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001164/1.325, allocations: 128.7 kB / 0.7382 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/1.325, allocations: 175.3 kB / 0.7383 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/1.325, allocations: 0 / 0.7383 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06043/1.386, allocations: 14.77 MB / 0.7528 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003719/1.386, allocations: 224.8 kB / 0.753 GB, free: 256 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.706/5.093, allocations: 0 / 0.753 GB, free: 256 kB / 0.5606 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: