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.00111/0.001115, allocations: 108 kB / 15.6 MB, free: 132 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.001121/0.001121, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 67.47 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1623, allocations: 80.19 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3942/0.5565, allocations: 161.5 MB / 0.7379 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004727/0.5613, allocations: 3.489 MB / 0.7413 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.5617, allocations: 12.03 kB / 0.7413 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.5622, allocations: 134.9 kB / 0.7414 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.5636, allocations: 452 kB / 0.7419 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5652, allocations: 0.5935 MB / 0.7424 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.5658, allocations: 0.621 MB / 0.743 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.5662, allocations: 230.3 kB / 0.7433 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.5673, allocations: 335.2 kB / 0.7436 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.5676, allocations: 197.7 kB / 0.7438 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.5677, allocations: 20.97 kB / 0.7438 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.5686, allocations: 0.5444 MB / 0.7443 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.5687, allocations: 104.4 kB / 0.7444 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.5689, allocations: 139.1 kB / 0.7446 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.5697, allocations: 0.5419 MB / 0.7451 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5697, allocations: 0 / 0.7451 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5697, allocations: 0 / 0.7451 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5697, allocations: 1.375 kB / 0.7451 GB, free: 7.715 MB / 0.5606 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.001033/0.5707, allocations: 0.6306 MB / 0.7457 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5708, allocations: 9.625 kB / 0.7457 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.62e-05/0.5708, allocations: 54.8 kB / 0.7458 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005059/0.5714, allocations: 78 kB / 0.7458 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.5717, allocations: 295.9 kB / 0.7461 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5717, allocations: 16.69 kB / 0.7461 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.5718, allocations: 21.75 kB / 0.7462 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.5724, allocations: 309.1 kB / 0.7465 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5725, allocations: 0 / 0.7465 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.5725, allocations: 15.72 kB / 0.7465 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5725, allocations: 8.219 kB / 0.7465 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/0.5732, allocations: 248.3 kB / 0.7467 GB, free: 6.434 MB / 0.5606 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.001526/0.5747, allocations: 1.251 MB / 0.7479 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.5752, allocations: 177.5 kB / 0.7481 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.5755, allocations: 119.4 kB / 0.7482 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006288/0.5762, allocations: 308.5 kB / 0.7485 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.5762, allocations: 32.97 kB / 0.7485 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.5762, allocations: 0 / 0.7485 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002293/0.5785, allocations: 0.5709 MB / 0.7491 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5786, allocations: 58.31 kB / 0.7492 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.5788, allocations: 257.1 kB / 0.7494 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.5789, allocations: 32.33 kB / 0.7494 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.579, allocations: 160.9 kB / 0.7496 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.579, allocations: 48.3 kB / 0.7496 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.5791, allocations: 40.52 kB / 0.7497 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5792, allocations: 332.3 kB / 0.75 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.5795, allocations: 97.59 kB / 0.7501 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.5799, allocations: 137.4 kB / 0.7502 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.5805, allocations: 240.4 kB / 0.7504 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5805, allocations: 0 / 0.7504 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001149/0.5816, allocations: 359 kB / 0.7508 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5817, allocations: 4.875 kB / 0.7508 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5817, allocations: 0 / 0.7508 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.5823, allocations: 91.88 kB / 0.7509 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.5825, allocations: 36.94 kB / 0.7509 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.5848, allocations: 1.733 MB / 0.7526 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.5851, allocations: 39.53 kB / 0.7526 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.5851, allocations: 5.562 kB / 0.7526 GB, free: 1.379 MB / 0.5606 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.0001632/0.5853, allocations: 146.5 kB / 0.7528 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.5854, allocations: 22.28 kB / 0.7528 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.5865, allocations: 368.6 kB / 0.7532 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5865, allocations: 2.844 kB / 0.7532 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.5866, allocations: 0 / 0.7532 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5866, allocations: 0 / 0.7532 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.5882, allocations: 0.7784 MB / 0.7539 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5883, allocations: 8.094 kB / 0.7539 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.5885, allocations: 31.97 kB / 0.754 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.5889, allocations: 84.7 kB / 0.754 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.5889, allocations: 4 kB / 0.754 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.591, allocations: 1.745 MB / 0.7557 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.591, allocations: 4.031 kB / 0.7558 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.5922, allocations: 447.5 kB / 0.7562 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.5923, allocations: 128.7 kB / 0.7563 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.5924, allocations: 12 kB / 0.7563 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.5926, allocations: 31.84 kB / 0.7563 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.5927, allocations: 11.98 kB / 0.7564 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.5927, allocations: 11.98 kB / 0.7564 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001665/0.5929, allocations: 182 kB / 0.7565 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5929, allocations: 0 / 0.7565 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000427/0.5934, allocations: 91.84 kB / 0.7566 GB, free: 13.36 MB / 0.5762 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.001648/0.595, allocations: 1.029 MB / 0.7576 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.5961, allocations: 376.8 kB / 0.758 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5961, allocations: 4 kB / 0.758 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.5967, allocations: 246.5 kB / 0.7582 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.5974, allocations: 128.1 kB / 0.7584 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.6021, allocations: 2.795 MB / 0.7611 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.6024, allocations: 0.7752 MB / 0.7618 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.6026, allocations: 55.5 kB / 0.7619 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6028, allocations: 79.41 kB / 0.762 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.6028, allocations: 0 / 0.762 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.6337, allocations: 8.574 MB / 0.7703 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.3, allocations: 9.781 kB / 0.7703 GB, free: 15.34 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)