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: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001085/0.001085, 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.001213/0.001213, allocations: 193 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7277/0.7277, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 68.95 kB / 0.5018 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 80.21 MB / 0.5801 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4611/0.6159, allocations: 161.5 MB / 0.7378 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005676/0.6216, allocations: 3.493 MB / 0.7412 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.622, allocations: 9.344 kB / 0.7412 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.6226, allocations: 137.1 kB / 0.7413 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.6239, allocations: 444.7 kB / 0.7417 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.6256, allocations: 0.5965 MB / 0.7423 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006862/0.6263, allocations: 0.6196 MB / 0.7429 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.6267, allocations: 226.1 kB / 0.7432 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.6279, allocations: 334.5 kB / 0.7435 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.6282, allocations: 200.4 kB / 0.7437 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.6282, allocations: 23.41 kB / 0.7437 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.6294, allocations: 0.5504 MB / 0.7442 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.6295, allocations: 92.22 kB / 0.7443 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.6297, allocations: 144 kB / 0.7444 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008243/0.6305, allocations: 0.5453 MB / 0.745 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6305, allocations: 0 / 0.745 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6305, allocations: 0 / 0.745 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6305, allocations: 1.375 kB / 0.745 GB, free: 7.797 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.001054/0.6316, allocations: 0.632 MB / 0.7456 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6316, allocations: 12.23 kB / 0.7456 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.6322, allocations: 71.39 kB / 0.7457 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.6326, allocations: 292.5 kB / 0.746 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.6326, allocations: 19.41 kB / 0.746 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.6326, allocations: 21 kB / 0.746 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.6333, allocations: 309.6 kB / 0.7463 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6333, allocations: 1.312 kB / 0.7463 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.6334, allocations: 14.44 kB / 0.7463 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.6334, allocations: 8.594 kB / 0.7463 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.634, allocations: 245.3 kB / 0.7465 GB, free: 6.574 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.001608/0.6356, allocations: 1.249 MB / 0.7478 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.6361, allocations: 176.7 kB / 0.7479 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.6364, allocations: 119.3 kB / 0.748 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005858/0.637, allocations: 306.3 kB / 0.7483 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.637, allocations: 36.91 kB / 0.7484 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.637, allocations: 0 / 0.7484 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.00216/0.6392, allocations: 0.5837 MB / 0.7489 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.6393, allocations: 51.41 kB / 0.749 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.6395, allocations: 252 kB / 0.7492 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.6395, allocations: 29.7 kB / 0.7493 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.6397, allocations: 169.2 kB / 0.7494 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/0.6398, allocations: 51.25 kB / 0.7495 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.6398, allocations: 34.34 kB / 0.7495 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.64, allocations: 331.7 kB / 0.7498 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.6403, allocations: 98.62 kB / 0.7499 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.6406, allocations: 138.3 kB / 0.7501 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.6411, allocations: 242.2 kB / 0.7503 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6411, allocations: 0 / 0.7503 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/0.6422, allocations: 358.3 kB / 0.7506 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6423, allocations: 5.188 kB / 0.7506 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6423, allocations: 0 / 0.7506 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.6429, allocations: 92.5 kB / 0.7507 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.6431, allocations: 36.69 kB / 0.7508 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.6453, allocations: 1.733 MB / 0.7524 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.6456, allocations: 32.56 kB / 0.7525 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.6456, allocations: 7.906 kB / 0.7525 GB, free: 1.52 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.0001667/0.6458, allocations: 145.7 kB / 0.7526 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.6458, allocations: 22.66 kB / 0.7526 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.647, allocations: 366.4 kB / 0.753 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.647, allocations: 0 / 0.753 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.647, allocations: 2.906 kB / 0.753 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.647, allocations: 1.688 kB / 0.753 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.6487, allocations: 0.7816 MB / 0.7538 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6487, allocations: 0 / 0.7538 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.6489, allocations: 35.91 kB / 0.7538 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.6493, allocations: 84.8 kB / 0.7539 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.6493, allocations: 8 kB / 0.7539 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.6512, allocations: 1.743 MB / 0.7556 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6513, allocations: 0 / 0.7556 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.6524, allocations: 456.8 kB / 0.756 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.6525, allocations: 124.7 kB / 0.7561 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.6525, allocations: 3.938 kB / 0.7561 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.6528, allocations: 27.91 kB / 0.7562 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.6529, allocations: 19.97 kB / 0.7562 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.6529, allocations: 4 kB / 0.7562 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001702/0.6531, allocations: 186 kB / 0.7564 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6531, allocations: 4 kB / 0.7564 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000441/0.6535, allocations: 79.84 kB / 0.7565 GB, free: 13.52 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.0003963/0.6539, allocations: 167.1 kB / 0.7566 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.655, allocations: 364.9 kB / 0.757 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.655, allocations: 0 / 0.757 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.6556, allocations: 258.7 kB / 0.7572 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.6564, allocations: 118.5 kB / 0.7573 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.6576, allocations: 0.5018 MB / 0.7578 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.658, allocations: 0.7752 MB / 0.7586 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.6582, allocations: 59.66 kB / 0.7586 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.6583, allocations: 19.44 kB / 0.7586 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of SimCode: time 2.644e-06/0.6583, allocations: 0 / 0.7586 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.01222/0.6705, allocations: 5.958 MB / 0.7645 GB, free: 5.348 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)