Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_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.000924/0.0009241, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.005715/0.005716, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8473/0.8473, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8.719 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 82.32 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3902/0.5273, allocations: 157.1 MB / 0.7415 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005/0.5324, allocations: 3.468 MB / 0.7449 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.5327, allocations: 9.344 kB / 0.7449 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.5331, allocations: 106.9 kB / 0.745 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.5341, allocations: 418.5 kB / 0.7454 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.5355, allocations: 0.5426 MB / 0.746 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007599/0.5363, allocations: 0.8135 MB / 0.7468 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.5366, allocations: 197.7 kB / 0.7469 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.538, allocations: 298.9 kB / 0.7472 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.5382, allocations: 190.2 kB / 0.7474 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.5383, allocations: 15 kB / 0.7474 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000944/0.5392, allocations: 0.629 MB / 0.748 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.5393, allocations: 84.58 kB / 0.7481 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.5395, allocations: 153.1 kB / 0.7483 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007141/0.5402, allocations: 0.557 MB / 0.7488 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5402, allocations: 3.984 kB / 0.7488 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5403, allocations: 0 / 0.7488 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5403, allocations: 0 / 0.7488 GB, free: 5.461 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.0009729/0.5412, allocations: 0.5918 MB / 0.7494 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5413, allocations: 14.31 kB / 0.7494 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.5414, allocations: 62.56 kB / 0.7495 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.5419, allocations: 74.2 kB / 0.7495 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.5422, allocations: 295.4 kB / 0.7498 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.5422, allocations: 16.72 kB / 0.7498 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.5423, allocations: 17.91 kB / 0.7499 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.5429, allocations: 331.7 kB / 0.7502 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5429, allocations: 2.625 kB / 0.7502 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.543, allocations: 11.94 kB / 0.7502 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.543, allocations: 6.156 kB / 0.7502 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.5437, allocations: 286.9 kB / 0.7505 GB, free: 4.188 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.00148/0.5451, allocations: 1.26 MB / 0.7517 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.5456, allocations: 192.6 kB / 0.7519 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.5459, allocations: 132.1 kB / 0.752 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.5465, allocations: 318.4 kB / 0.7523 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5465, allocations: 40.78 kB / 0.7523 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.5465, allocations: 3.812 kB / 0.7524 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002232/0.5488, allocations: 0.6204 MB / 0.753 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.5488, allocations: 59.33 kB / 0.753 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.549, allocations: 249.9 kB / 0.7533 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5491, allocations: 32.36 kB / 0.7533 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.5492, allocations: 161.3 kB / 0.7534 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.5492, allocations: 58.03 kB / 0.7535 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.5493, allocations: 18.97 kB / 0.7535 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5494, allocations: 332.9 kB / 0.7538 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.5497, allocations: 114.1 kB / 0.7539 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.55, allocations: 149.9 kB / 0.7541 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/0.5506, allocations: 275.1 kB / 0.7543 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5506, allocations: 0 / 0.7543 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001173/0.5518, allocations: 388.6 kB / 0.7547 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5518, allocations: 6.188 kB / 0.7547 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5518, allocations: 0 / 0.7547 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.5525, allocations: 94.34 kB / 0.7548 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.5527, allocations: 49.16 kB / 0.7549 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.5549, allocations: 1.607 MB / 0.7564 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.5552, allocations: 53.56 kB / 0.7565 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.5552, allocations: 4.469 kB / 0.7565 GB, free: 15.23 MB / 0.5762 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.0001659/0.5554, allocations: 151.4 kB / 0.7566 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.5554, allocations: 24.78 kB / 0.7566 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.5566, allocations: 396.9 kB / 0.757 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5567, allocations: 2.812 kB / 0.757 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.5567, allocations: 3.938 kB / 0.757 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5567, allocations: 0 / 0.757 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.5584, allocations: 0.8078 MB / 0.7578 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5584, allocations: 4.094 kB / 0.7578 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.5586, allocations: 39.97 kB / 0.7579 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/0.5591, allocations: 92.75 kB / 0.758 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.5592, allocations: 4 kB / 0.758 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.5611, allocations: 1.632 MB / 0.7596 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5611, allocations: 0 / 0.7596 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.5624, allocations: 489.3 kB / 0.76 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.5625, allocations: 128.7 kB / 0.7601 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.5625, allocations: 4 kB / 0.7601 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.5628, allocations: 31.97 kB / 0.7602 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.5629, allocations: 19.97 kB / 0.7602 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.5629, allocations: 11.94 kB / 0.7602 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001808/0.5631, allocations: 186 kB / 0.7604 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5631, allocations: 0 / 0.7604 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004596/0.5636, allocations: 79.84 kB / 0.7605 GB, free: 11.1 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.001783/0.5654, allocations: 1.073 MB / 0.7615 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.5664, allocations: 389 kB / 0.7619 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5664, allocations: 3.938 kB / 0.7619 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/0.567, allocations: 274.6 kB / 0.7621 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.5678, allocations: 117.9 kB / 0.7623 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.5727, allocations: 2.978 MB / 0.7652 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.573, allocations: 0.7675 MB / 0.7659 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.5733, allocations: 62.31 kB / 0.766 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.5734, allocations: 79.3 kB / 0.766 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.5734, allocations: 0 / 0.766 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.683/3.256, allocations: 7.911 MB / 0.7738 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/3.256, allocations: 270.8 kB / 0.774 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/6.455, allocations: 0 / 0.774 GB, free: 13.17 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)