Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111.4 kB / 16.37 MB, free: 6 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.001101/0.001101, allocations: 197.6 kB / 17.31 MB, free: 5.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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8008/0.8008, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 75.83 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3421, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.1753/0.5175, allocations: 165.3 MB / 0.7429 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.5204, allocations: 1.555 MB / 0.7444 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.5208, allocations: 19.88 kB / 0.7444 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.5214, allocations: 142.9 kB / 0.7446 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.5226, allocations: 465.8 kB / 0.745 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.5245, allocations: 0.7545 MB / 0.7457 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.5253, allocations: 0.7058 MB / 0.7464 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.5257, allocations: 266.4 kB / 0.7467 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.5263, allocations: 318.8 kB / 0.747 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.5266, allocations: 219.1 kB / 0.7472 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.5266, allocations: 27.98 kB / 0.7472 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.5281, allocations: 0.8613 MB / 0.7481 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.5283, allocations: 115.6 kB / 0.7482 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.5284, allocations: 155.3 kB / 0.7483 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.5296, allocations: 0.748 MB / 0.7491 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5296, allocations: 0 / 0.7491 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5296, allocations: 4 kB / 0.7491 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.5296, allocations: 0 / 0.7491 GB, free: 2.055 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001102/0.5307, allocations: 0.6701 MB / 0.7497 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5308, allocations: 12.03 kB / 0.7497 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.5313, allocations: 83.5 kB / 0.7498 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.5318, allocations: 305.9 kB / 0.7501 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.5318, allocations: 20.56 kB / 0.7501 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.5319, allocations: 27.98 kB / 0.7501 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.5325, allocations: 336.2 kB / 0.7505 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5325, allocations: 3.938 kB / 0.7505 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.5325, allocations: 8 kB / 0.7505 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.5325, allocations: 4 kB / 0.7505 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.5332, allocations: 289.5 kB / 0.7508 GB, free: 224 kB / 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.3162/0.8494, allocations: 1.054 MB / 0.7518 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009341/0.8504, allocations: 325.6 kB / 0.7521 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.8507, allocations: 135.7 kB / 0.7522 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/0.8515, allocations: 397.1 kB / 0.7526 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.8515, allocations: 32.16 kB / 0.7526 GB, free: 168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 3.166e-06/0.8515, allocations: 5.25 kB / 0.7526 GB, free: 168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.00131/0.8528, allocations: 402.3 kB / 0.753 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8529, allocations: 58.91 kB / 0.7531 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.8532, allocations: 268.3 kB / 0.7533 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.8532, allocations: 31.55 kB / 0.7534 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.8533, allocations: 175.7 kB / 0.7535 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.8534, allocations: 63.23 kB / 0.7536 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.614e-05/0.8535, allocations: 43.42 kB / 0.7536 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.8536, allocations: 340.8 kB / 0.754 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.8539, allocations: 102.3 kB / 0.7541 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.8542, allocations: 166.3 kB / 0.7542 GB, free: 167 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.8549, allocations: 270.1 kB / 0.7545 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8549, allocations: 0 / 0.7545 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007533/0.8556, allocations: 321 kB / 0.7548 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8557, allocations: 5.844 kB / 0.7548 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8557, allocations: 2.031 kB / 0.7548 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8557, allocations: 4.031 kB / 0.7548 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.856, allocations: 62.41 kB / 0.7548 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.856, allocations: 7.531 kB / 0.7549 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.8563, allocations: 38.38 kB / 0.7549 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.8563, allocations: 11.86 kB / 0.7549 GB, free: 166.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.8565, allocations: 155.1 kB / 0.755 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.8565, allocations: 32.94 kB / 0.7551 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007556/0.8573, allocations: 313.5 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.8573, allocations: 2.922 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8573, allocations: 4.688 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8573, allocations: 0.7969 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.8588, allocations: 0.9362 MB / 0.7563 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8588, allocations: 1.875 kB / 0.7563 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.8591, allocations: 52.59 kB / 0.7564 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.8591, allocations: 2.5 kB / 0.7564 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.8591, allocations: 4.156 kB / 0.7564 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8591, allocations: 2.969 kB / 0.7564 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.8592, allocations: 6.406 kB / 0.7564 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8603, allocations: 0.5555 MB / 0.7569 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.8604, allocations: 130.4 kB / 0.757 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.8605, allocations: 2.875 kB / 0.757 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.8607, allocations: 24.78 kB / 0.7571 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.8608, allocations: 25.5 kB / 0.7571 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.8608, allocations: 14.33 kB / 0.7571 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001733/0.861, allocations: 192.9 kB / 0.7573 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.861, allocations: 0 / 0.7573 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005204/0.8616, allocations: 109.1 kB / 0.7574 GB, free: 165.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005063/0.8621, allocations: 196 kB / 0.7576 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.8628, allocations: 262.1 kB / 0.7578 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8628, allocations: 0.5 kB / 0.7578 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.8633, allocations: 134.1 kB / 0.758 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.864, allocations: 133.5 kB / 0.7581 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.8652, allocations: 0.6107 MB / 0.7587 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.8655, allocations: 0.7827 MB / 0.7594 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.8657, allocations: 62.75 kB / 0.7595 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.8658, allocations: 25.31 kB / 0.7595 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.8658, allocations: 0 / 0.7595 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01036/0.8762, allocations: 5.959 MB / 0.7653 GB, free: 160.8 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)