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.001233/0.001233, allocations: 109.2 kB / 15.99 MB, free: 5.91 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.001141/0.001141, allocations: 192.1 kB / 16.91 MB, free: 5.758 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8164/0.8164, allocations: 135.1 MB / 425.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 67.91 kB / 0.5055 GB, free: 8.766 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3963, allocations: 80.9 MB / 0.5845 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1669/0.5632, allocations: 159.3 MB / 0.7401 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005241/0.5685, allocations: 3.467 MB / 0.7434 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.569, allocations: 7.938 kB / 0.7434 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.5696, allocations: 119.3 kB / 0.7436 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.5711, allocations: 414.2 kB / 0.744 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.5727, allocations: 0.5413 MB / 0.7445 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008671/0.5736, allocations: 0.6244 MB / 0.7451 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.5741, allocations: 220.6 kB / 0.7453 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.5759, allocations: 342.2 kB / 0.7456 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.5763, allocations: 207.1 kB / 0.7458 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.5763, allocations: 27.94 kB / 0.7459 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.5774, allocations: 0.5689 MB / 0.7464 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5775, allocations: 95.72 kB / 0.7465 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.5778, allocations: 147.3 kB / 0.7466 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.5784, allocations: 399.2 kB / 0.747 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5785, allocations: 0 / 0.747 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5785, allocations: 0 / 0.747 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5785, allocations: 0 / 0.747 GB, free: 4.02 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.001254/0.5797, allocations: 0.6272 MB / 0.7476 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5798, allocations: 13.11 kB / 0.7476 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.5804, allocations: 75.5 kB / 0.7477 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.5808, allocations: 293.3 kB / 0.748 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.5808, allocations: 12.44 kB / 0.748 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.5809, allocations: 20 kB / 0.748 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.5815, allocations: 316.1 kB / 0.7483 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5816, allocations: 0 / 0.7483 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.5816, allocations: 15.94 kB / 0.7483 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.5816, allocations: 4 kB / 0.7483 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.5823, allocations: 248.9 kB / 0.7486 GB, free: 2.305 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.001725/0.584, allocations: 1.244 MB / 0.7498 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.5845, allocations: 170.5 kB / 0.75 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.5848, allocations: 124.8 kB / 0.7501 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.5854, allocations: 307.2 kB / 0.7504 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5854, allocations: 42.5 kB / 0.7504 GB, free: 248 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5854, allocations: 0 / 0.7504 GB, free: 248 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.3416/0.927, allocations: 0.559 MB / 0.751 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.9271, allocations: 54.28 kB / 0.751 GB, free: 167 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.9275, allocations: 256.5 kB / 0.7513 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.9276, allocations: 27.33 kB / 0.7513 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.9277, allocations: 167.9 kB / 0.7514 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.9278, allocations: 54.38 kB / 0.7515 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.9279, allocations: 34.62 kB / 0.7515 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.928, allocations: 335.7 kB / 0.7519 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.9283, allocations: 95.14 kB / 0.7519 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.9287, allocations: 141.8 kB / 0.7521 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/0.9293, allocations: 232 kB / 0.7523 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9293, allocations: 0.5 kB / 0.7523 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001333/0.9306, allocations: 362.3 kB / 0.7526 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.9307, allocations: 6.25 kB / 0.7526 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.9307, allocations: 0.75 kB / 0.7527 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006701/0.9314, allocations: 88.33 kB / 0.7527 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.9316, allocations: 41.72 kB / 0.7528 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.934, allocations: 1.735 MB / 0.7545 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.9343, allocations: 36.59 kB / 0.7545 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.9343, allocations: 7.375 kB / 0.7545 GB, free: 164.6 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.0001711/0.9345, allocations: 145 kB / 0.7546 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.9346, allocations: 28.36 kB / 0.7547 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.9358, allocations: 363.3 kB / 0.755 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.9359, allocations: 5.688 kB / 0.755 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.9359, allocations: 0.8438 kB / 0.755 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.9359, allocations: 1.516 kB / 0.755 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.9377, allocations: 0.7807 MB / 0.7558 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9377, allocations: 2.125 kB / 0.7558 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.9379, allocations: 37.34 kB / 0.7558 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.9384, allocations: 79.14 kB / 0.7559 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.9385, allocations: 6.984 kB / 0.7559 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.9402, allocations: 1.742 MB / 0.7576 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.9402, allocations: 2.656 kB / 0.7576 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.9414, allocations: 454.4 kB / 0.758 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.9416, allocations: 127.1 kB / 0.7582 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.9416, allocations: 2.031 kB / 0.7582 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.9419, allocations: 29.75 kB / 0.7582 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.942, allocations: 23.73 kB / 0.7582 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.942, allocations: 7.188 kB / 0.7582 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002083/0.9422, allocations: 183.8 kB / 0.7584 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9423, allocations: 0 / 0.7584 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005146/0.9428, allocations: 88.59 kB / 0.7585 GB, free: 161.8 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.0004702/0.9433, allocations: 160.6 kB / 0.7586 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.9443, allocations: 369.6 kB / 0.759 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9444, allocations: 0.7188 kB / 0.759 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.9449, allocations: 255.7 kB / 0.7592 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.9457, allocations: 124.5 kB / 0.7594 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.9469, allocations: 0.6122 MB / 0.76 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.9472, allocations: 0.7696 MB / 0.7607 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.9473, allocations: 23.56 kB / 0.7607 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.9473, allocations: 3.938 kB / 0.7607 GB, free: 160 MB / 0.5762 GB Notification: Performance of Templates: time 0.008726/0.956, allocations: 5.387 MB / 0.766 GB, free: 157.3 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)