Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001365/0.001364, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001345/0.001345, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7788/0.7788, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.001861, allocations: 67.89 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3566, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.1849/0.5415, allocations: 165.3 MB / 0.7471 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.5451, allocations: 1.558 MB / 0.7487 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.5455, allocations: 15.94 kB / 0.7487 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.546, allocations: 142.9 kB / 0.7488 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.5475, allocations: 469.8 kB / 0.7493 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.55, allocations: 0.7579 MB / 0.75 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.551, allocations: 0.6981 MB / 0.7507 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/0.5514, allocations: 274.3 kB / 0.7509 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.5519, allocations: 310.9 kB / 0.7512 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.5522, allocations: 223.1 kB / 0.7514 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.5523, allocations: 24 kB / 0.7515 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3731/0.9254, allocations: 0.8628 MB / 0.7523 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.9257, allocations: 111.7 kB / 0.7524 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.9262, allocations: 166.2 kB / 0.7526 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.9281, allocations: 0.7439 MB / 0.7533 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.9282, allocations: 0 / 0.7533 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9282, allocations: 2.297 kB / 0.7533 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.9282, allocations: 0 / 0.7533 GB, free: 2.883 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.00153/0.9297, allocations: 0.6734 MB / 0.754 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9298, allocations: 10.05 kB / 0.754 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.9304, allocations: 80.66 kB / 0.754 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.931, allocations: 318.1 kB / 0.7544 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.9311, allocations: 18.59 kB / 0.7544 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.9311, allocations: 23.91 kB / 0.7544 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.9318, allocations: 332.4 kB / 0.7547 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9318, allocations: 3.844 kB / 0.7547 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.9319, allocations: 9.719 kB / 0.7547 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.9319, allocations: 7.797 kB / 0.7547 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.9325, allocations: 284.8 kB / 0.755 GB, free: 18.11 MB / 0.5919 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.001717/0.9342, allocations: 1.064 MB / 0.756 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.9351, allocations: 330 kB / 0.7564 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.9354, allocations: 134.6 kB / 0.7565 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/0.9361, allocations: 394.1 kB / 0.7569 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.9361, allocations: 40.14 kB / 0.7569 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.943e-06/0.9361, allocations: 0 / 0.7569 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00112/0.9373, allocations: 403.9 kB / 0.7573 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.9373, allocations: 54.53 kB / 0.7573 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.9376, allocations: 268.1 kB / 0.7576 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.9376, allocations: 29.14 kB / 0.7576 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.9378, allocations: 174.5 kB / 0.7578 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.9378, allocations: 68.8 kB / 0.7579 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.9379, allocations: 43.31 kB / 0.7579 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.9381, allocations: 338.2 kB / 0.7582 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.9384, allocations: 105 kB / 0.7583 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.9387, allocations: 163.3 kB / 0.7585 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.9392, allocations: 273 kB / 0.7587 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9392, allocations: 0 / 0.7587 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007729/0.94, allocations: 317.8 kB / 0.759 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9401, allocations: 12.81 kB / 0.759 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.9401, allocations: 0.6562 kB / 0.759 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.9401, allocations: 7.766 kB / 0.7591 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.9404, allocations: 56.64 kB / 0.7591 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.9404, allocations: 5.828 kB / 0.7591 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.9407, allocations: 37.2 kB / 0.7591 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.9407, allocations: 11.58 kB / 0.7592 GB, free: 16.17 MB / 0.5919 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.0001949/0.9409, allocations: 154.3 kB / 0.7593 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.941, allocations: 29.16 kB / 0.7593 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/0.9418, allocations: 319.5 kB / 0.7596 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.9418, allocations: 3.438 kB / 0.7596 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9418, allocations: 0 / 0.7596 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.9419, allocations: 4.672 kB / 0.7596 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.9435, allocations: 0.9344 MB / 0.7606 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9436, allocations: 1.906 kB / 0.7606 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.9438, allocations: 48.53 kB / 0.7606 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.9438, allocations: 6.781 kB / 0.7606 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.9439, allocations: 8.922 kB / 0.7606 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.9439, allocations: 3.094 kB / 0.7606 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9439, allocations: 3.531 kB / 0.7606 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.9451, allocations: 0.5604 MB / 0.7612 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.9452, allocations: 126.2 kB / 0.7613 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.9453, allocations: 8.938 kB / 0.7613 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.9455, allocations: 23.62 kB / 0.7613 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.9456, allocations: 24.11 kB / 0.7614 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.9456, allocations: 8.359 kB / 0.7614 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002222/0.9459, allocations: 193.9 kB / 0.7615 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9459, allocations: 1.031 kB / 0.7615 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005459/0.9464, allocations: 114.8 kB / 0.7617 GB, free: 15.07 MB / 0.5919 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.0004927/0.9469, allocations: 199.7 kB / 0.7618 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007427/0.9477, allocations: 255.5 kB / 0.7621 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9477, allocations: 1.719 kB / 0.7621 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.948, allocations: 139.1 kB / 0.7622 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.9487, allocations: 126.7 kB / 0.7623 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.9499, allocations: 0.6007 MB / 0.7629 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.9503, allocations: 0.7785 MB / 0.7637 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002403/0.9506, allocations: 67.97 kB / 0.7638 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.9507, allocations: 33.84 kB / 0.7638 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.9507, allocations: 0 / 0.7638 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.01039/0.9611, allocations: 5.94 MB / 0.7696 GB, free: 13.81 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)