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.01218/0.01218, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.002123/0.002123, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.538/2.538, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.01/1.01, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 60.14 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7195/0.7208, allocations: 80.2 MB / 0.6592 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.276/0.9969, allocations: 181.8 MB / 0.8367 GB, free: 15.74 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01157/1.009, allocations: 4.458 MB / 0.8411 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/1.01, allocations: 19.88 kB / 0.8411 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/1.012, allocations: 246.1 kB / 0.8413 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003848/1.016, allocations: 0.758 MB / 0.8421 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007665/1.024, allocations: 1.526 MB / 0.8435 GB, free: 8.727 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003533/1.027, allocations: 1.254 MB / 0.8448 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/1.029, allocations: 441.4 kB / 0.8452 GB, free: 7.031 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/1.031, allocations: 0.5799 MB / 0.8458 GB, free: 6.449 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/1.032, allocations: 410.3 kB / 0.8461 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003001/1.033, allocations: 47.98 kB / 0.8462 GB, free: 6 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/1.038, allocations: 1.543 MB / 0.8477 GB, free: 4.453 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006535/1.039, allocations: 187.5 kB / 0.8479 GB, free: 4.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/1.04, allocations: 306.5 kB / 0.8482 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/1.045, allocations: 1.313 MB / 0.8495 GB, free: 2.652 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.045, allocations: 0 / 0.8495 GB, free: 2.652 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.574e-06/1.045, allocations: 3.938 kB / 0.8495 GB, free: 2.648 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.802e-05/1.045, allocations: 4 kB / 0.8495 GB, free: 2.645 MB / 0.67 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.003271/1.048, allocations: 1.023 MB / 0.8505 GB, free: 1.562 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/1.048, allocations: 8.031 kB / 0.8505 GB, free: 1.555 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/1.048, allocations: 82.52 kB / 0.8505 GB, free: 1.465 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/1.051, allocations: 283 kB / 0.8508 GB, free: 1.188 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.052, allocations: 473.4 kB / 0.8513 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/1.052, allocations: 37 kB / 0.8513 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.052, allocations: 43.98 kB / 0.8513 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/1.054, allocations: 0.5545 MB / 0.8519 GB, free: 24 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.054, allocations: 0 / 0.8519 GB, free: 24 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/1.054, allocations: 16 kB / 0.8519 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/1.054, allocations: 12.05 kB / 0.8519 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.055, allocations: 459.5 kB / 0.8524 GB, free: 15.54 MB / 0.6856 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.003457/1.059, allocations: 2.112 MB / 0.8544 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.06, allocations: 410.3 kB / 0.8548 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/1.06, allocations: 228.7 kB / 0.855 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007956/1.061, allocations: 396.3 kB / 0.8554 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007407/1.062, allocations: 290.9 kB / 0.8557 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 6.873e-06/1.062, allocations: 3.984 kB / 0.8557 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.002026/1.064, allocations: 0.6939 MB / 0.8564 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/1.064, allocations: 55.41 kB / 0.8564 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/1.065, allocations: 498 kB / 0.8569 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/1.065, allocations: 37.7 kB / 0.8569 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/1.065, allocations: 256.1 kB / 0.8572 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/1.065, allocations: 126.3 kB / 0.8573 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/1.065, allocations: 86.03 kB / 0.8574 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.066, allocations: 370.7 kB / 0.8577 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/1.066, allocations: 196.8 kB / 0.8579 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/1.067, allocations: 320 kB / 0.8582 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/1.068, allocations: 0.5341 MB / 0.8587 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/1.068, allocations: 8 kB / 0.8587 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001465/1.069, allocations: 0.6453 MB / 0.8594 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/1.069, allocations: 63.39 kB / 0.8594 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.069, allocations: 4 kB / 0.8594 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.736e-05/1.07, allocations: 11.94 kB / 0.8595 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/1.07, allocations: 91.88 kB / 0.8595 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/1.07, allocations: 11.94 kB / 0.8596 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/1.071, allocations: 83.45 kB / 0.8596 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/1.071, allocations: 23.94 kB / 0.8597 GB, free: 7.66 MB / 0.6856 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.0004041/1.071, allocations: 190.3 kB / 0.8598 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/1.072, allocations: 51.34 kB / 0.8599 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/1.073, allocations: 0.5412 MB / 0.8604 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.073, allocations: 4 kB / 0.8604 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.073, allocations: 0 / 0.8604 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.073, allocations: 3.984 kB / 0.8604 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/1.076, allocations: 1.348 MB / 0.8617 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.076, allocations: 4 kB / 0.8617 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/1.077, allocations: 75.88 kB / 0.8618 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/1.077, allocations: 4 kB / 0.8618 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/1.077, allocations: 16.44 kB / 0.8618 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/1.077, allocations: 11.94 kB / 0.8618 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.077, allocations: 4 kB / 0.8618 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/1.079, allocations: 0.9333 MB / 0.8628 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/1.079, allocations: 168.4 kB / 0.8629 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.079, allocations: 15.98 kB / 0.8629 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/1.08, allocations: 32.03 kB / 0.863 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.08, allocations: 55.81 kB / 0.863 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/1.08, allocations: 12 kB / 0.863 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005909/1.081, allocations: 346.8 kB / 0.8634 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.081, allocations: 0 / 0.8634 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008306/1.082, allocations: 155.8 kB / 0.8635 GB, free: 3.504 MB / 0.6856 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.002801/1.085, allocations: 1.59 MB / 0.8651 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.086, allocations: 0.5806 MB / 0.8656 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.086, allocations: 4.25 kB / 0.8656 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007716/1.087, allocations: 283.6 kB / 0.8659 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.089, allocations: 288.3 kB / 0.8662 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5548/1.643, allocations: 4.992 MB / 0.8711 GB, free: 194 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/1.644, allocations: 0.8668 MB / 0.8719 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007606/1.645, allocations: 126.9 kB / 0.872 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/1.645, allocations: 176.4 kB / 0.8722 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.954e-06/1.645, allocations: 0 / 0.8722 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06841/1.714, allocations: 16.12 MB / 0.8879 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/15.09, allocations: 15.02 kB / 0.8879 GB, free: 186.7 MB / 0.6856 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)