Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_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.0007591/0.0007592, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008215/0.0008216, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9871/0.9871, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 12 kB / 0.5071 GB, free: 5.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1769, allocations: 82.32 MB / 0.5875 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4956/0.6726, allocations: 165.3 MB / 0.7489 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005867/0.6785, allocations: 4.178 MB / 0.753 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.679, allocations: 21.38 kB / 0.753 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006084/0.6796, allocations: 178.3 kB / 0.7532 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.6812, allocations: 0.5788 MB / 0.7537 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.684, allocations: 1.043 MB / 0.7547 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.6854, allocations: 1.442 MB / 0.7561 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004866/0.6859, allocations: 354.3 kB / 0.7565 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.6867, allocations: 0.5097 MB / 0.757 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.6872, allocations: 386.4 kB / 0.7574 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.6873, allocations: 32 kB / 0.7574 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.689, allocations: 0.7871 MB / 0.7582 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.6891, allocations: 167.5 kB / 0.7583 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.6893, allocations: 125.5 kB / 0.7584 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008471/0.6901, allocations: 0.7677 MB / 0.7592 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6901, allocations: 3.984 kB / 0.7592 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.346e-06/0.6902, allocations: 4 kB / 0.7592 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6902, allocations: 0 / 0.7592 GB, free: 13.09 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.001467/0.6916, allocations: 0.9307 MB / 0.7601 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6917, allocations: 8.031 kB / 0.7601 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.6918, allocations: 78.53 kB / 0.7602 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.6937, allocations: 286.9 kB / 0.7605 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.6944, allocations: 441.6 kB / 0.7609 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.6944, allocations: 29 kB / 0.7609 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.6945, allocations: 44 kB / 0.7609 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.6955, allocations: 0.5585 MB / 0.7615 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6955, allocations: 7.938 kB / 0.7615 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.6955, allocations: 19.98 kB / 0.7615 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.6956, allocations: 8 kB / 0.7615 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6966, allocations: 487.6 kB / 0.762 GB, free: 10.08 MB / 0.5762 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.002338/0.6989, allocations: 2.123 MB / 0.7641 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/0.6998, allocations: 434.5 kB / 0.7645 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.7003, allocations: 244.7 kB / 0.7647 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.701, allocations: 412.3 kB / 0.7651 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.7016, allocations: 309.6 kB / 0.7654 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.7017, allocations: 4 kB / 0.7654 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001754/0.7034, allocations: 0.7282 MB / 0.7661 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.7035, allocations: 59.41 kB / 0.7662 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.7041, allocations: 490.1 kB / 0.7666 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.7041, allocations: 33.7 kB / 0.7667 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.7043, allocations: 264 kB / 0.7669 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.7044, allocations: 122.2 kB / 0.767 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.7045, allocations: 12 kB / 0.767 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7046, allocations: 370.7 kB / 0.7674 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.7051, allocations: 208.8 kB / 0.7676 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.7057, allocations: 336.8 kB / 0.7679 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.7062, allocations: 289.6 kB / 0.7682 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7062, allocations: 3.938 kB / 0.7682 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00126/0.7075, allocations: 0.6774 MB / 0.7689 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.7076, allocations: 63.39 kB / 0.7689 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7076, allocations: 4.25 kB / 0.7689 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7076, allocations: 8 kB / 0.7689 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.7081, allocations: 111.8 kB / 0.769 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.7081, allocations: 4 kB / 0.769 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.7087, allocations: 91.39 kB / 0.7691 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.7087, allocations: 27.98 kB / 0.7692 GB, free: 2.375 MB / 0.5762 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.0002565/0.709, allocations: 192.5 kB / 0.7693 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.7091, allocations: 59.28 kB / 0.7694 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.7103, allocations: 0.566 MB / 0.77 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.7103, allocations: 4 kB / 0.77 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7103, allocations: 0 / 0.77 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7104, allocations: 0 / 0.77 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.7126, allocations: 1.376 MB / 0.7713 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7126, allocations: 4 kB / 0.7713 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.713, allocations: 84.38 kB / 0.7714 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-06/0.7131, allocations: 7.953 kB / 0.7714 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.7131, allocations: 15.94 kB / 0.7714 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.7131, allocations: 7.938 kB / 0.7714 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.7131, allocations: 4 kB / 0.7714 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.7148, allocations: 0.9757 MB / 0.7724 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.715, allocations: 176.3 kB / 0.7725 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.481e-05/0.7151, allocations: 19.95 kB / 0.7726 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.7155, allocations: 52 kB / 0.7726 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.7156, allocations: 51.88 kB / 0.7727 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.7157, allocations: 12 kB / 0.7727 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003996/0.7161, allocations: 342.8 kB / 0.773 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7161, allocations: 0 / 0.773 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005607/0.7167, allocations: 155.8 kB / 0.7731 GB, free: 14.1 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 (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.002209/0.7189, allocations: 1.634 MB / 0.7747 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.72, allocations: 0.6008 MB / 0.7753 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.72, allocations: 0 / 0.7753 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.7207, allocations: 307.5 kB / 0.7756 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.722, allocations: 285.7 kB / 0.7759 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.7272, allocations: 3.38 MB / 0.7792 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.7276, allocations: 0.8668 MB / 0.78 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005104/0.7281, allocations: 131.6 kB / 0.7802 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.7284, allocations: 175.4 kB / 0.7803 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.7284, allocations: 0 / 0.7803 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.7567, allocations: 14.79 MB / 0.7948 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.7569, allocations: 227.6 kB / 0.795 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.952, allocations: 0 / 0.795 GB, free: 7.824 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: