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: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001561, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001393/0.001393, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8271/0.8271, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 0.506 GB, free: 8.363 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4025, allocations: 80.91 MB / 0.585 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1943/0.5969, allocations: 161.5 MB / 0.7427 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005437/0.6024, allocations: 3.486 MB / 0.7461 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.6027, allocations: 11.94 kB / 0.7462 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.6032, allocations: 127 kB / 0.7463 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.6045, allocations: 449.9 kB / 0.7467 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.6061, allocations: 0.5914 MB / 0.7473 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.6068, allocations: 0.6205 MB / 0.7479 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.6072, allocations: 236.6 kB / 0.7481 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.6086, allocations: 339.1 kB / 0.7484 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.609, allocations: 195.1 kB / 0.7486 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.609, allocations: 20 kB / 0.7486 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.6102, allocations: 0.5495 MB / 0.7492 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.6103, allocations: 95.66 kB / 0.7493 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.6105, allocations: 139.3 kB / 0.7494 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.6114, allocations: 0.5454 MB / 0.7499 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6114, allocations: 0 / 0.7499 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6114, allocations: 0 / 0.7499 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6115, allocations: 0 / 0.7499 GB, free: 1.145 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.001191/0.6127, allocations: 0.635 MB / 0.7506 GB, free: 472 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6127, allocations: 9.109 kB / 0.7506 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005405/0.6132, allocations: 75.56 kB / 0.7506 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.6137, allocations: 297.2 kB / 0.7509 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6137, allocations: 16.44 kB / 0.7509 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.6138, allocations: 20 kB / 0.751 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3078/0.9216, allocations: 300.8 kB / 0.7512 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.9216, allocations: 2.219 kB / 0.7512 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.9217, allocations: 11.97 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.9217, allocations: 6.625 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.9224, allocations: 249.6 kB / 0.7515 GB, free: 167.4 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.001541/0.924, allocations: 1.249 MB / 0.7527 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.9245, allocations: 179.8 kB / 0.7529 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.9248, allocations: 120.6 kB / 0.753 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.9254, allocations: 308.1 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.9254, allocations: 33.98 kB / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.9254, allocations: 0 / 0.7533 GB, free: 166 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002339/0.9278, allocations: 0.5757 MB / 0.7539 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.9278, allocations: 53.75 kB / 0.754 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.9281, allocations: 251.6 kB / 0.7542 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.9281, allocations: 32.98 kB / 0.7542 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.473e-05/0.9282, allocations: 164.7 kB / 0.7544 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.9283, allocations: 50.3 kB / 0.7544 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.9283, allocations: 33.77 kB / 0.7545 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.9284, allocations: 340.3 kB / 0.7548 GB, free: 165 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.9287, allocations: 95.78 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.9291, allocations: 140.9 kB / 0.755 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.9297, allocations: 236.7 kB / 0.7552 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9297, allocations: 2.156 kB / 0.7552 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001191/0.9309, allocations: 346.1 kB / 0.7556 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.931, allocations: 5.5 kB / 0.7556 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.931, allocations: 5.344 kB / 0.7556 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.9316, allocations: 85.14 kB / 0.7557 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.9318, allocations: 43.34 kB / 0.7557 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.9337, allocations: 1.724 MB / 0.7574 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.934, allocations: 34.75 kB / 0.7574 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.934, allocations: 8.859 kB / 0.7574 GB, free: 163.1 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.0001313/0.9342, allocations: 151.4 kB / 0.7576 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.9342, allocations: 24.47 kB / 0.7576 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.9354, allocations: 364.3 kB / 0.7579 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9354, allocations: 5.781 kB / 0.7579 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.9354, allocations: 0.5 kB / 0.7579 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9354, allocations: 10.48 kB / 0.758 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.937, allocations: 0.7807 MB / 0.7587 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.937, allocations: 1.562 kB / 0.7587 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.9372, allocations: 37.27 kB / 0.7588 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.9377, allocations: 76.84 kB / 0.7588 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.9377, allocations: 6.094 kB / 0.7588 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.9394, allocations: 1.747 MB / 0.7605 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.9395, allocations: 2.188 kB / 0.7605 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.9407, allocations: 459.4 kB / 0.761 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.9408, allocations: 120.1 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.9409, allocations: 2.312 kB / 0.7611 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.9411, allocations: 26.34 kB / 0.7611 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.9412, allocations: 19.44 kB / 0.7611 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.9412, allocations: 5.469 kB / 0.7611 GB, free: 160 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002016/0.9415, allocations: 184.6 kB / 0.7613 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9415, allocations: 0 / 0.7613 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004962/0.942, allocations: 82.78 kB / 0.7614 GB, free: 159.9 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.0004348/0.9424, allocations: 165.7 kB / 0.7616 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.9435, allocations: 374.3 kB / 0.7619 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9435, allocations: 0.5312 kB / 0.7619 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.9441, allocations: 257.8 kB / 0.7622 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.9449, allocations: 118 kB / 0.7623 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.9459, allocations: 0.5394 MB / 0.7628 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.9462, allocations: 0.774 MB / 0.7636 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.9462, allocations: 21.88 kB / 0.7636 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.9462, allocations: 0 / 0.7636 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.007206/0.9535, allocations: 5.409 MB / 0.7689 GB, free: 154.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)