Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",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.001495/0.001495, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8212/0.8212, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.06 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4537, allocations: 80.21 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1831/0.6368, allocations: 161.5 MB / 0.7379 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004546/0.6414, allocations: 3.497 MB / 0.7413 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.6417, allocations: 11.94 kB / 0.7413 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.6422, allocations: 131 kB / 0.7414 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.6434, allocations: 445.9 kB / 0.7419 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.6448, allocations: 0.595 MB / 0.7424 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000716/0.6456, allocations: 0.6205 MB / 0.743 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.646, allocations: 240.6 kB / 0.7433 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.6472, allocations: 329.6 kB / 0.7436 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.6475, allocations: 195.2 kB / 0.7438 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.6476, allocations: 20 kB / 0.7438 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009679/0.6486, allocations: 0.5456 MB / 0.7443 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.6487, allocations: 95.72 kB / 0.7444 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.6489, allocations: 143.3 kB / 0.7446 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.6498, allocations: 0.5454 MB / 0.7451 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6498, allocations: 0 / 0.7451 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6498, allocations: 0 / 0.7451 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.6499, allocations: 0 / 0.7451 GB, free: 8.137 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001153/0.651, allocations: 0.6311 MB / 0.7457 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.6511, allocations: 8.031 kB / 0.7457 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.06e-05/0.6511, allocations: 58.53 kB / 0.7458 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005597/0.6517, allocations: 75.56 kB / 0.7458 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.6521, allocations: 293.3 kB / 0.7461 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.6521, allocations: 12.44 kB / 0.7461 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.6522, allocations: 20 kB / 0.7462 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.6528, allocations: 316.1 kB / 0.7465 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6529, allocations: 3.938 kB / 0.7465 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.6529, allocations: 8 kB / 0.7465 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.6529, allocations: 4 kB / 0.7465 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.6536, allocations: 260.8 kB / 0.7467 GB, free: 6.352 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.001691/0.6553, allocations: 1.248 MB / 0.7479 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.6558, allocations: 174.5 kB / 0.7481 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.6561, allocations: 124.8 kB / 0.7482 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.6567, allocations: 303.2 kB / 0.7485 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.6568, allocations: 34.56 kB / 0.7485 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.6568, allocations: 0 / 0.7485 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002199/0.659, allocations: 0.577 MB / 0.7491 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.659, allocations: 55.41 kB / 0.7492 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.6593, allocations: 246.7 kB / 0.7494 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.6593, allocations: 33.7 kB / 0.7494 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.6595, allocations: 172.1 kB / 0.7496 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.6595, allocations: 55.2 kB / 0.7496 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.6596, allocations: 33.7 kB / 0.7497 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6598, allocations: 330.8 kB / 0.75 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.6601, allocations: 95.91 kB / 0.7501 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.6604, allocations: 138.1 kB / 0.7502 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.661, allocations: 247.2 kB / 0.7505 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.661, allocations: 0 / 0.7505 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00114/0.6622, allocations: 349.9 kB / 0.7508 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6622, allocations: 4 kB / 0.7508 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6622, allocations: 4 kB / 0.7508 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.6628, allocations: 88.77 kB / 0.7509 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.663, allocations: 43.97 kB / 0.7509 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.6651, allocations: 1.719 MB / 0.7526 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.6654, allocations: 35.81 kB / 0.7526 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.6654, allocations: 12 kB / 0.7526 GB, free: 15.84 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.6656, allocations: 147.3 kB / 0.7528 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.6656, allocations: 23.66 kB / 0.7528 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.6668, allocations: 362.1 kB / 0.7532 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6668, allocations: 0 / 0.7532 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.6668, allocations: 7.938 kB / 0.7532 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6668, allocations: 3.984 kB / 0.7532 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.6685, allocations: 0.7707 MB / 0.7539 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6685, allocations: 3.938 kB / 0.7539 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.6687, allocations: 43.98 kB / 0.754 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.6691, allocations: 72.78 kB / 0.754 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.6692, allocations: 4 kB / 0.754 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.6711, allocations: 1.739 MB / 0.7557 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6711, allocations: 64 / 0.7557 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.6723, allocations: 458.3 kB / 0.7562 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6724, allocations: 132.5 kB / 0.7563 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.6725, allocations: 0 / 0.7563 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.6727, allocations: 27.97 kB / 0.7563 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.6728, allocations: 23.97 kB / 0.7563 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.6729, allocations: 11.94 kB / 0.7564 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001641/0.673, allocations: 186 kB / 0.7565 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.673, allocations: 0 / 0.7565 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004012/0.6734, allocations: 79.94 kB / 0.7566 GB, free: 11.49 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/0.6751, allocations: 1.04 MB / 0.7576 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.6762, allocations: 370.3 kB / 0.758 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6762, allocations: 256 / 0.758 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.6768, allocations: 262.5 kB / 0.7582 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.6776, allocations: 121.6 kB / 0.7583 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.6826, allocations: 2.804 MB / 0.7611 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.683, allocations: 0.7751 MB / 0.7618 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000229/0.6832, allocations: 62.23 kB / 0.7619 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.6833, allocations: 71.42 kB / 0.762 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6833, allocations: 0 / 0.762 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.7169, allocations: 8.571 MB / 0.7703 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.76, allocations: 10.03 kB / 0.7704 GB, free: 13.46 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)