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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001656/0.001656, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8181/0.8181, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 56.28 kB / 0.5011 GB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4356, allocations: 80.21 MB / 0.5794 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.1767/0.6123, allocations: 163 MB / 0.7386 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002885/0.6153, allocations: 1.571 MB / 0.7402 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.6155, allocations: 11.94 kB / 0.7402 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.6159, allocations: 111.2 kB / 0.7403 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.617, allocations: 442.2 kB / 0.7407 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.6187, allocations: 0.6842 MB / 0.7414 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000969/0.6197, allocations: 0.9983 MB / 0.7423 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.6201, allocations: 236.7 kB / 0.7426 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.6207, allocations: 282.9 kB / 0.7428 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.621, allocations: 235 kB / 0.7431 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.621, allocations: 16 kB / 0.7431 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.6228, allocations: 0.9859 MB / 0.744 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.6229, allocations: 99.7 kB / 0.7441 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.6231, allocations: 151.2 kB / 0.7443 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.6243, allocations: 0.7791 MB / 0.745 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6243, allocations: 0 / 0.745 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6243, allocations: 0 / 0.745 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6243, allocations: 0 / 0.745 GB, free: 7.586 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.001252/0.6256, allocations: 0.6702 MB / 0.7457 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6256, allocations: 8.031 kB / 0.7457 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005281/0.6261, allocations: 87.47 kB / 0.7458 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.6266, allocations: 297.9 kB / 0.7461 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.6267, allocations: 20.56 kB / 0.7461 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.6267, allocations: 24 kB / 0.7461 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.6274, allocations: 324.2 kB / 0.7464 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6275, allocations: 11.88 kB / 0.7464 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.6275, allocations: 8 kB / 0.7464 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.6275, allocations: 8 kB / 0.7464 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.6282, allocations: 285.5 kB / 0.7467 GB, free: 5.766 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.001741/0.63, allocations: 1.079 MB / 0.7478 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/0.631, allocations: 315.7 kB / 0.7481 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.6313, allocations: 138.4 kB / 0.7482 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007145/0.632, allocations: 392.3 kB / 0.7486 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.6321, allocations: 42.56 kB / 0.7486 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.6321, allocations: 3.938 kB / 0.7486 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001222/0.6333, allocations: 397 kB / 0.749 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.6334, allocations: 59.41 kB / 0.7491 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.6337, allocations: 263 kB / 0.7493 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6337, allocations: 29.7 kB / 0.7493 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.6338, allocations: 172.1 kB / 0.7495 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.6339, allocations: 63.11 kB / 0.7496 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.634, allocations: 45.7 kB / 0.7496 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6341, allocations: 338.8 kB / 0.7499 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.6344, allocations: 99.91 kB / 0.75 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.6348, allocations: 165.8 kB / 0.7502 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.6355, allocations: 275.6 kB / 0.7504 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6355, allocations: 4.062 kB / 0.7504 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007233/0.6362, allocations: 317.1 kB / 0.7508 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6363, allocations: 11.88 kB / 0.7508 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6363, allocations: 4 kB / 0.7508 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6363, allocations: 0 / 0.7508 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.6366, allocations: 59.89 kB / 0.7508 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6367, allocations: 0 / 0.7508 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.637, allocations: 47.88 kB / 0.7509 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.637, allocations: 11.98 kB / 0.7509 GB, free: 1.227 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.0002087/0.6373, allocations: 149.8 kB / 0.751 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.6373, allocations: 39.5 kB / 0.7511 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000885/0.6382, allocations: 317.8 kB / 0.7514 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6383, allocations: 4 kB / 0.7514 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6383, allocations: 0 / 0.7514 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6383, allocations: 0 / 0.7514 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.6399, allocations: 0.9393 MB / 0.7523 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6399, allocations: 192 / 0.7523 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.6402, allocations: 55.89 kB / 0.7523 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.6402, allocations: 4 kB / 0.7523 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.6402, allocations: 4 kB / 0.7523 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6402, allocations: 4 kB / 0.7524 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6402, allocations: 4 kB / 0.7524 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.6414, allocations: 0.5614 MB / 0.7529 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.6415, allocations: 128.7 kB / 0.753 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.6416, allocations: 8 kB / 0.753 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.6418, allocations: 23.95 kB / 0.7531 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.6419, allocations: 23.98 kB / 0.7531 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.6419, allocations: 8 kB / 0.7531 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001843/0.6421, allocations: 201.9 kB / 0.7533 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6421, allocations: 0 / 0.7533 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005238/0.6427, allocations: 103.8 kB / 0.7534 GB, free: 14.49 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.0005521/0.6432, allocations: 199.3 kB / 0.7536 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007488/0.644, allocations: 255.7 kB / 0.7538 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.644, allocations: 320 / 0.7538 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.6444, allocations: 143.8 kB / 0.7539 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007791/0.6452, allocations: 121.1 kB / 0.7541 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.6463, allocations: 0.6835 MB / 0.7547 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.6467, allocations: 0.7836 MB / 0.7555 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002632/0.647, allocations: 62.25 kB / 0.7556 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.647, allocations: 31.42 kB / 0.7556 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6471, allocations: 0 / 0.7556 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of Templates: time 0.01064/0.6577, allocations: 5.587 MB / 0.761 GB, free: 6.68 MB / 0.5919 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)