Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_IDEAS_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.007713/0.007713, allocations: 108.4 kB / 15.74 MB, free: 5.984 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.001812/0.001811, allocations: 193.4 kB / 16.67 MB, free: 5.906 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7562/0.7562, allocations: 132.2 MB / 422.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 72.75 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1614, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5593/0.7207, allocations: 181.8 MB / 0.8367 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005636/0.7264, allocations: 4.459 MB / 0.8411 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.7271, allocations: 19.09 kB / 0.8411 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.7278, allocations: 248.1 kB / 0.8413 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.7298, allocations: 0.7563 MB / 0.842 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.7336, allocations: 1.52 MB / 0.8435 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.7351, allocations: 1.258 MB / 0.8448 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.7357, allocations: 445.2 kB / 0.8452 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.7368, allocations: 0.5773 MB / 0.8458 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.7373, allocations: 408 kB / 0.8461 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.116e-05/0.7373, allocations: 46.5 kB / 0.8462 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.7397, allocations: 1.544 MB / 0.8477 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.7399, allocations: 187.8 kB / 0.8479 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.7402, allocations: 305.2 kB / 0.8482 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.7421, allocations: 1.317 MB / 0.8494 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7422, allocations: 0 / 0.8494 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7422, allocations: 0 / 0.8494 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.7422, allocations: 0.9062 kB / 0.8494 GB, free: 2.922 MB / 0.6387 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.001812/0.744, allocations: 1.023 MB / 0.8504 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7441, allocations: 10.41 kB / 0.8505 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.939e-05/0.7442, allocations: 84.61 kB / 0.8505 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.7462, allocations: 283.9 kB / 0.8508 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.747, allocations: 466.3 kB / 0.8513 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.747, allocations: 35.7 kB / 0.8513 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/0.7471, allocations: 44.69 kB / 0.8513 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.748, allocations: 0.55 MB / 0.8519 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.7481, allocations: 3.469 kB / 0.8519 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.7481, allocations: 13.75 kB / 0.8519 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.7481, allocations: 15.09 kB / 0.8519 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009217/0.7491, allocations: 459.4 kB / 0.8523 GB, free: 1.797 MB / 0.6387 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.002121/0.7512, allocations: 2.117 MB / 0.8544 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/0.752, allocations: 408.5 kB / 0.8548 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.7525, allocations: 230.4 kB / 0.855 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.7532, allocations: 397.5 kB / 0.8554 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005594/0.7537, allocations: 294.6 kB / 0.8557 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 2.414e-06/0.7537, allocations: 0 / 0.8557 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001618/0.7554, allocations: 0.691 MB / 0.8564 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.7554, allocations: 54.59 kB / 0.8564 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.7559, allocations: 0.4927 MB / 0.8569 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.7559, allocations: 33.2 kB / 0.8569 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.7561, allocations: 264 kB / 0.8572 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.7562, allocations: 121 kB / 0.8573 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.7563, allocations: 91.53 kB / 0.8574 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7565, allocations: 362.8 kB / 0.8577 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.7569, allocations: 203.9 kB / 0.8579 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.7574, allocations: 312.7 kB / 0.8582 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.7583, allocations: 0.5392 MB / 0.8587 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7583, allocations: 2.75 kB / 0.8587 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001171/0.7595, allocations: 0.6517 MB / 0.8594 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.7595, allocations: 62.97 kB / 0.8594 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.7596, allocations: 3.844 kB / 0.8594 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.7596, allocations: 11.12 kB / 0.8594 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.76, allocations: 97.03 kB / 0.8595 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.76, allocations: 9.812 kB / 0.8595 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.7605, allocations: 75.69 kB / 0.8596 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.7606, allocations: 23 kB / 0.8596 GB, free: 14.76 MB / 0.6544 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.000201/0.7608, allocations: 197.8 kB / 0.8598 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.7609, allocations: 50.97 kB / 0.8599 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.762, allocations: 0.5362 MB / 0.8604 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.762, allocations: 6 kB / 0.8604 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.762, allocations: 0.8125 kB / 0.8604 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.762, allocations: 3 kB / 0.8604 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.7641, allocations: 1.35 MB / 0.8617 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7641, allocations: 3.719 kB / 0.8617 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.7645, allocations: 71.98 kB / 0.8618 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.7645, allocations: 5 kB / 0.8618 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.7645, allocations: 14.25 kB / 0.8618 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.7646, allocations: 13.72 kB / 0.8618 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.7646, allocations: 6.688 kB / 0.8618 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.7661, allocations: 0.9354 MB / 0.8628 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.7664, allocations: 169.1 kB / 0.8629 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/0.7665, allocations: 16.72 kB / 0.8629 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.7669, allocations: 39.38 kB / 0.863 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.767, allocations: 50.94 kB / 0.863 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.7671, allocations: 13.97 kB / 0.863 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003635/0.7674, allocations: 346.1 kB / 0.8634 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7674, allocations: 0 / 0.8634 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005831/0.768, allocations: 155.3 kB / 0.8635 GB, free: 13.61 MB / 0.6544 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.002138/0.7702, allocations: 1.581 MB / 0.8651 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.7713, allocations: 0.5837 MB / 0.8656 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7713, allocations: 0.9062 kB / 0.8656 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.7719, allocations: 288.9 kB / 0.8659 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7733, allocations: 288.7 kB / 0.8662 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.7805, allocations: 4.997 MB / 0.8711 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.781, allocations: 0.8584 MB / 0.8719 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004765/0.7815, allocations: 141.8 kB / 0.872 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.7817, allocations: 175.8 kB / 0.8722 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/0.7817, allocations: 3.094 kB / 0.8722 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/0.8285, allocations: 16.11 MB / 0.8879 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/9.21, allocations: 10.23 kB / 0.8879 GB, free: 4.945 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)