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.001035/0.001035, allocations: 92.16 kB / 16.02 MB, free: 80 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.0017/0.0017, allocations: 173 kB / 16.92 MB, free: 6.652 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9347/0.9347, allocations: 135.3 MB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1687, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5231/0.6919, allocations: 157.2 MB / 0.7421 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005192/0.6971, allocations: 3.463 MB / 0.7455 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.6976, allocations: 10.44 kB / 0.7455 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.6981, allocations: 104.4 kB / 0.7456 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.6994, allocations: 422.4 kB / 0.746 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.7011, allocations: 0.5385 MB / 0.7465 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.7022, allocations: 0.8165 MB / 0.7473 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.7026, allocations: 185.7 kB / 0.7475 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.7043, allocations: 302.9 kB / 0.7478 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.7047, allocations: 193.9 kB / 0.7479 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.7048, allocations: 16.12 kB / 0.748 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.706, allocations: 0.6272 MB / 0.7486 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.7062, allocations: 89.22 kB / 0.7487 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.7064, allocations: 147.7 kB / 0.7488 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.707, allocations: 392 kB / 0.7492 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7071, allocations: 1.375 kB / 0.7492 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7071, allocations: 0 / 0.7492 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.7071, allocations: 0 / 0.7492 GB, free: 5.695 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.001132/0.7082, allocations: 0.5965 MB / 0.7498 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.7083, allocations: 14.06 kB / 0.7498 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005948/0.7089, allocations: 74.25 kB / 0.7498 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.7093, allocations: 295.6 kB / 0.7501 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7093, allocations: 12.81 kB / 0.7501 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.7094, allocations: 21.78 kB / 0.7502 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.7101, allocations: 329.6 kB / 0.7505 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.7101, allocations: 0 / 0.7505 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.7102, allocations: 12.34 kB / 0.7505 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.7102, allocations: 11.97 kB / 0.7505 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.7109, allocations: 280.1 kB / 0.7508 GB, free: 4.488 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.001671/0.7126, allocations: 1.26 MB / 0.752 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.713, allocations: 189.5 kB / 0.7522 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.7134, allocations: 137.8 kB / 0.7523 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.7139, allocations: 319.8 kB / 0.7526 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.714, allocations: 34.56 kB / 0.7526 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.714, allocations: 7.344 kB / 0.7526 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002352/0.7163, allocations: 0.6154 MB / 0.7532 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.7164, allocations: 57.91 kB / 0.7533 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.7167, allocations: 258.4 kB / 0.7535 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.7167, allocations: 25.7 kB / 0.7536 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.7169, allocations: 164.7 kB / 0.7537 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.717, allocations: 50.7 kB / 0.7538 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.717, allocations: 26.86 kB / 0.7538 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7172, allocations: 332.9 kB / 0.7541 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.7175, allocations: 109.2 kB / 0.7542 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.7178, allocations: 158.2 kB / 0.7544 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.7185, allocations: 268.9 kB / 0.7546 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7185, allocations: 0 / 0.7546 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001231/0.7197, allocations: 396.8 kB / 0.755 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7198, allocations: 5.031 kB / 0.755 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7198, allocations: 3.094 kB / 0.755 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.7204, allocations: 90.83 kB / 0.7551 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.7207, allocations: 51.61 kB / 0.7552 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.7228, allocations: 1.605 MB / 0.7567 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.7231, allocations: 53 kB / 0.7568 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.7232, allocations: 7.594 kB / 0.7568 GB, free: 15.52 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.0001668/0.7233, allocations: 147.5 kB / 0.7569 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.7234, allocations: 24.81 kB / 0.7569 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.7246, allocations: 399.1 kB / 0.7573 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.7246, allocations: 2.531 kB / 0.7573 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.7246, allocations: 0 / 0.7573 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7246, allocations: 0 / 0.7573 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.7263, allocations: 0.8102 MB / 0.7581 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7263, allocations: 0 / 0.7581 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.7265, allocations: 48.06 kB / 0.7582 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.7271, allocations: 96.69 kB / 0.7583 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.7271, allocations: 4 kB / 0.7583 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.729, allocations: 1.622 MB / 0.7598 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.729, allocations: 4.031 kB / 0.7598 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.7302, allocations: 493.3 kB / 0.7603 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.7303, allocations: 124.7 kB / 0.7604 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.7303, allocations: 4 kB / 0.7604 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.7306, allocations: 31.97 kB / 0.7605 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.7307, allocations: 15.97 kB / 0.7605 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.7307, allocations: 12 kB / 0.7605 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001598/0.7309, allocations: 193.8 kB / 0.7607 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7309, allocations: 0 / 0.7607 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004318/0.7313, allocations: 83.84 kB / 0.7608 GB, free: 11.48 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.0004211/0.7318, allocations: 152.7 kB / 0.7609 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.7329, allocations: 392.9 kB / 0.7613 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7329, allocations: 0 / 0.7613 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.7335, allocations: 274.6 kB / 0.7615 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.7343, allocations: 116 kB / 0.7617 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.7352, allocations: 0.6322 MB / 0.7623 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.7355, allocations: 0.7752 MB / 0.763 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.7356, allocations: 19.44 kB / 0.7631 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.7356, allocations: 0 / 0.7631 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.007654/0.7433, allocations: 5.356 MB / 0.7683 GB, free: 3.746 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)