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.001141/0.001141, allocations: 107.3 kB / 16.4 MB, free: 6.496 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.001303/0.001303, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 115.3 MB / 406.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.92 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1521, allocations: 76.19 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5527/0.7049, allocations: 181.8 MB / 0.8091 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.7107, allocations: 4.446 MB / 0.8134 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008285/0.7115, allocations: 24.78 kB / 0.8135 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.7124, allocations: 246.5 kB / 0.8137 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.7145, allocations: 0.7658 MB / 0.8145 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.7181, allocations: 1.512 MB / 0.8159 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.7198, allocations: 1.257 MB / 0.8172 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.7203, allocations: 450.3 kB / 0.8176 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009413/0.7213, allocations: 0.5812 MB / 0.8182 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.7217, allocations: 405.1 kB / 0.8185 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.573e-05/0.7218, allocations: 44.66 kB / 0.8186 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.7245, allocations: 1.547 MB / 0.8201 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.7247, allocations: 189.2 kB / 0.8203 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.725, allocations: 308.5 kB / 0.8206 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.727, allocations: 1.301 MB / 0.8218 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7271, allocations: 0 / 0.8218 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7271, allocations: 0 / 0.8218 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.7271, allocations: 2.688 kB / 0.8218 GB, free: 7.164 MB / 0.5919 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.001663/0.7288, allocations: 1.019 MB / 0.8228 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7288, allocations: 8.219 kB / 0.8228 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.004e-05/0.7289, allocations: 81.05 kB / 0.8229 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.7308, allocations: 286.3 kB / 0.8232 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.7316, allocations: 468.9 kB / 0.8236 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.7316, allocations: 30.59 kB / 0.8237 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.7317, allocations: 46.44 kB / 0.8237 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009674/0.7327, allocations: 0.5412 MB / 0.8242 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7327, allocations: 2.688 kB / 0.8242 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.7327, allocations: 22.56 kB / 0.8243 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.7328, allocations: 14.16 kB / 0.8243 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/0.7337, allocations: 456.7 kB / 0.8247 GB, free: 5.113 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.002522/0.7363, allocations: 2.124 MB / 0.8268 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.7372, allocations: 404.6 kB / 0.8272 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.7377, allocations: 230.9 kB / 0.8274 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/0.7384, allocations: 395.5 kB / 0.8278 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006384/0.739, allocations: 289 kB / 0.8281 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.795e-06/0.739, allocations: 4 kB / 0.8281 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001714/0.7408, allocations: 0.6918 MB / 0.8287 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.7408, allocations: 58.78 kB / 0.8288 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.7413, allocations: 0.49 MB / 0.8293 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.7414, allocations: 38.52 kB / 0.8293 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.7416, allocations: 255.2 kB / 0.8295 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.7417, allocations: 127.8 kB / 0.8297 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.7418, allocations: 87.5 kB / 0.8298 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.742, allocations: 367.8 kB / 0.8301 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.7425, allocations: 192.9 kB / 0.8303 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.743, allocations: 322.2 kB / 0.8306 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.744, allocations: 0.5394 MB / 0.8311 GB, free: 216 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.744, allocations: 0 / 0.8311 GB, free: 216 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00126/0.7453, allocations: 0.6515 MB / 0.8318 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.7454, allocations: 63.11 kB / 0.8318 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.7454, allocations: 4.812 kB / 0.8318 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.7454, allocations: 6.75 kB / 0.8318 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.7459, allocations: 100.9 kB / 0.8319 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7459, allocations: 8.719 kB / 0.8319 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.7465, allocations: 77.48 kB / 0.832 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.7466, allocations: 18.94 kB / 0.832 GB, free: 15.69 MB / 0.6075 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.0002756/0.7468, allocations: 189.6 kB / 0.8322 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.7469, allocations: 56.47 kB / 0.8323 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.7481, allocations: 0.5372 MB / 0.8328 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.7482, allocations: 4.406 kB / 0.8328 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7482, allocations: 0 / 0.8328 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7482, allocations: 7.016 kB / 0.8328 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.7505, allocations: 1.354 MB / 0.8341 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.7505, allocations: 6.578 kB / 0.8341 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.7509, allocations: 83.27 kB / 0.8342 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.7509, allocations: 4.75 kB / 0.8342 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.751, allocations: 9.344 kB / 0.8342 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.751, allocations: 12.95 kB / 0.8342 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.751, allocations: 5.062 kB / 0.8342 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.7526, allocations: 0.9307 MB / 0.8351 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.7529, allocations: 176.8 kB / 0.8353 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7531, allocations: 13.41 kB / 0.8353 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.7535, allocations: 35.45 kB / 0.8354 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.7536, allocations: 56.64 kB / 0.8354 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.7537, allocations: 13.88 kB / 0.8354 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003941/0.7541, allocations: 350.4 kB / 0.8358 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7541, allocations: 0 / 0.8358 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006152/0.7547, allocations: 149.4 kB / 0.8359 GB, free: 13.11 MB / 0.6075 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.002235/0.757, allocations: 1.569 MB / 0.8374 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.7582, allocations: 0.5897 MB / 0.838 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7582, allocations: 0 / 0.838 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006599/0.7588, allocations: 292.2 kB / 0.8383 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.7603, allocations: 284.9 kB / 0.8386 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/0.7683, allocations: 5.001 MB / 0.8434 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.7688, allocations: 0.8665 MB / 0.8443 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005184/0.7693, allocations: 132.7 kB / 0.8444 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.7696, allocations: 175.4 kB / 0.8446 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.7696, allocations: 0 / 0.8446 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.8102, allocations: 16.13 MB / 0.8603 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/9.123, allocations: 0.5938 kB / 0.8603 GB, free: 6.254 MB / 0.6231 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)