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.007906/0.007906, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00206/0.00206, allocations: 201 kB / 16.68 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7896/0.7896, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.91 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3916, allocations: 80.21 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2064/0.5981, allocations: 181.8 MB / 0.8367 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006758/0.6049, allocations: 4.447 MB / 0.8411 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006416/0.6055, allocations: 19.88 kB / 0.8411 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008058/0.6063, allocations: 250.1 kB / 0.8413 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.6085, allocations: 0.758 MB / 0.8421 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.6123, allocations: 1.519 MB / 0.8435 GB, free: 8.746 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.6141, allocations: 1.258 MB / 0.8448 GB, free: 7.484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.6149, allocations: 448.9 kB / 0.8452 GB, free: 7.043 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.6161, allocations: 0.5682 MB / 0.8458 GB, free: 6.473 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.6169, allocations: 410.3 kB / 0.8462 GB, free: 6.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.617, allocations: 48 kB / 0.8462 GB, free: 6.023 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.6202, allocations: 1.547 MB / 0.8477 GB, free: 4.473 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.6205, allocations: 187.4 kB / 0.8479 GB, free: 4.289 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.6211, allocations: 302.5 kB / 0.8482 GB, free: 3.992 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.6239, allocations: 1.321 MB / 0.8495 GB, free: 2.668 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6239, allocations: 0 / 0.8495 GB, free: 2.668 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6239, allocations: 3.938 kB / 0.8495 GB, free: 2.664 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.6239, allocations: 0 / 0.8495 GB, free: 2.664 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.002182/0.6261, allocations: 1.036 MB / 0.8505 GB, free: 1.566 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.6262, allocations: 8.031 kB / 0.8505 GB, free: 1.559 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.6263, allocations: 78.52 kB / 0.8506 GB, free: 1.473 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.6283, allocations: 287.3 kB / 0.8508 GB, free: 1.191 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/0.6292, allocations: 485.7 kB / 0.8513 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.6292, allocations: 33 kB / 0.8513 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.6293, allocations: 51.94 kB / 0.8514 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.6304, allocations: 0.5507 MB / 0.8519 GB, free: 16 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.6304, allocations: 4 kB / 0.8519 GB, free: 12 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.6305, allocations: 16.05 kB / 0.8519 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.6305, allocations: 8 kB / 0.8519 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.6316, allocations: 463.5 kB / 0.8524 GB, free: 15.53 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.002705/0.6343, allocations: 2.116 MB / 0.8545 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.6354, allocations: 418 kB / 0.8549 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.6359, allocations: 216.7 kB / 0.8551 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/0.6366, allocations: 400.3 kB / 0.8554 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.6373, allocations: 298.8 kB / 0.8557 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.6373, allocations: 0 / 0.8557 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.00186/0.6391, allocations: 0.6942 MB / 0.8564 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.6392, allocations: 55.41 kB / 0.8565 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.6398, allocations: 490.1 kB / 0.8569 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.6399, allocations: 33.7 kB / 0.857 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.6401, allocations: 260.5 kB / 0.8572 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.6402, allocations: 138.9 kB / 0.8573 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.6404, allocations: 90.08 kB / 0.8574 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.6406, allocations: 366.7 kB / 0.8578 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.6411, allocations: 196.8 kB / 0.858 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.6417, allocations: 324 kB / 0.8583 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.6428, allocations: 0.5418 MB / 0.8588 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6428, allocations: 0 / 0.8588 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001371/0.6442, allocations: 0.6494 MB / 0.8594 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.6443, allocations: 63.77 kB / 0.8595 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6443, allocations: 8 kB / 0.8595 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.6443, allocations: 4 kB / 0.8595 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.6448, allocations: 99.81 kB / 0.8596 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.6448, allocations: 4 kB / 0.8596 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.6453, allocations: 79.52 kB / 0.8597 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.6454, allocations: 24 kB / 0.8597 GB, free: 7.641 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.0002412/0.6456, allocations: 194.3 kB / 0.8599 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.6457, allocations: 59.62 kB / 0.8599 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.647, allocations: 0.5295 MB / 0.8605 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.647, allocations: 8 kB / 0.8605 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.647, allocations: 4.062 kB / 0.8605 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.647, allocations: 3.984 kB / 0.8605 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.6494, allocations: 1.352 MB / 0.8618 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6494, allocations: 7.938 kB / 0.8618 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.6498, allocations: 71.88 kB / 0.8619 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.6498, allocations: 8 kB / 0.8619 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.6499, allocations: 12 kB / 0.8619 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/0.6499, allocations: 11.92 kB / 0.8619 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6499, allocations: 4.344 kB / 0.8619 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.6517, allocations: 0.9414 MB / 0.8628 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.6519, allocations: 172.7 kB / 0.863 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/0.652, allocations: 8 kB / 0.863 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.6525, allocations: 35.95 kB / 0.863 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6526, allocations: 55.89 kB / 0.8631 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.6527, allocations: 12 kB / 0.8631 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00044/0.6531, allocations: 350.8 kB / 0.8634 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6531, allocations: 0 / 0.8634 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005707/0.6537, allocations: 147.8 kB / 0.8636 GB, free: 3.469 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.002505/0.6562, allocations: 1.59 MB / 0.8651 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.6575, allocations: 0.5874 MB / 0.8657 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6575, allocations: 0.75 kB / 0.8657 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.6583, allocations: 287.8 kB / 0.866 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.6597, allocations: 290.7 kB / 0.8663 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2994/0.9591, allocations: 4.993 MB / 0.8711 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.9595, allocations: 0.8697 MB / 0.872 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005676/0.9601, allocations: 132 kB / 0.8721 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.9604, allocations: 175.5 kB / 0.8723 GB, free: 193 MB / 0.6856 GB Notification: Performance of SimCode: time 9.21e-07/0.9604, allocations: 0 / 0.8723 GB, free: 193 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04063/1.001, allocations: 15.84 MB / 0.8877 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/9.605, allocations: 13.52 kB / 0.8877 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)