Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.001099/0.001099, allocations: 187.4 kB / 16.91 MB, free: 5.746 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9479/0.9479, allocations: 135.1 MB / 425.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.56 kB / 0.5055 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1718, allocations: 80.93 MB / 0.5845 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.444/0.6158, allocations: 153 MB / 0.7339 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04097/0.6568, allocations: 30.15 MB / 0.7634 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006543/0.6634, allocations: 127.1 kB / 0.7635 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.6673, allocations: 0.8779 MB / 0.7643 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.6774, allocations: 2.937 MB / 0.7672 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006432/0.6839, allocations: 2.297 MB / 0.7695 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00843/0.6923, allocations: 5.383 MB / 0.7747 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00378/0.6961, allocations: 2.186 MB / 0.7768 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006753/0.7029, allocations: 2.719 MB / 0.7795 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003822/0.7068, allocations: 2.011 MB / 0.7815 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000706/0.7075, allocations: 216 kB / 0.7817 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.7105, allocations: 1.088 MB / 0.7827 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.7111, allocations: 0.5565 MB / 0.7833 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.7129, allocations: 1.271 MB / 0.7845 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.7162, allocations: 2.529 MB / 0.787 GB, free: 124 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7162, allocations: 0 / 0.787 GB, free: 124 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7162, allocations: 0 / 0.787 GB, free: 124 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.953e-05/0.7163, allocations: 0 / 0.787 GB, free: 124 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005151/0.7214, allocations: 2.792 MB / 0.7897 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.7215, allocations: 8.031 kB / 0.7897 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004912/0.722, allocations: 264.8 kB / 0.79 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.7242, allocations: 1.446 MB / 0.7914 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.7243, allocations: 102.3 kB / 0.7915 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.7245, allocations: 136 kB / 0.7916 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.7266, allocations: 1.171 MB / 0.7928 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.7266, allocations: 0 / 0.7928 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.7267, allocations: 44 kB / 0.7928 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.7268, allocations: 31.94 kB / 0.7928 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.7285, allocations: 1.013 MB / 0.7938 GB, free: 8.949 MB / 0.6075 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.01017/0.7387, allocations: 6.311 MB / 0.8 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.7397, allocations: 0.568 MB / 0.8005 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.7403, allocations: 382.4 kB / 0.8009 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004159/0.7407, allocations: 0.507 MB / 0.8014 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.7408, allocations: 43.12 kB / 0.8014 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001746/0.7425, allocations: 306.8 kB / 0.8017 GB, free: 264 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 5.22e-06/0.7425, allocations: 3.984 kB / 0.8017 GB, free: 260 kB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.0023/0.7448, allocations: 1.168 MB / 0.8029 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.7449, allocations: 59.91 kB / 0.8029 GB, free: 15 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.7474, allocations: 1.892 MB / 0.8048 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.7475, allocations: 45.7 kB / 0.8048 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/0.7483, allocations: 0.9223 MB / 0.8057 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.7485, allocations: 201.1 kB / 0.8059 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.7489, allocations: 306.5 kB / 0.8062 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7491, allocations: 345.9 kB / 0.8065 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.7499, allocations: 457.9 kB / 0.807 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.7509, allocations: 0.6995 MB / 0.8077 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.7524, allocations: 0.9813 MB / 0.8086 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7525, allocations: 4.812 kB / 0.8086 GB, free: 9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00264/0.7551, allocations: 1.424 MB / 0.81 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.7551, allocations: 8.375 kB / 0.81 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.7552, allocations: 4 kB / 0.81 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7552, allocations: 8 kB / 0.81 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.7565, allocations: 291.5 kB / 0.8103 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.7565, allocations: 11.94 kB / 0.8103 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.7583, allocations: 153.4 kB / 0.8105 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.7585, allocations: 63.94 kB / 0.8105 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001309/0.7598, allocations: 0.7173 MB / 0.8112 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000977/0.7608, allocations: 0.6723 MB / 0.8119 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001424/0.7622, allocations: 0.9305 MB / 0.8128 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.543e-06/0.7622, allocations: 7.984 kB / 0.8128 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002536/0.7648, allocations: 1.377 MB / 0.8141 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7648, allocations: 4 kB / 0.8141 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7648, allocations: 7.938 kB / 0.8142 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7648, allocations: 8 kB / 0.8142 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.766, allocations: 279.6 kB / 0.8144 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.7661, allocations: 11.94 kB / 0.8144 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.7679, allocations: 167.8 kB / 0.8146 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.768, allocations: 55.95 kB / 0.8147 GB, free: 2.676 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0003438/0.7684, allocations: 236 kB / 0.8149 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.7688, allocations: 197.5 kB / 0.8151 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.771, allocations: 1.099 MB / 0.8161 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.771, allocations: 8 kB / 0.8161 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.771, allocations: 3.938 kB / 0.8162 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.771, allocations: 3.984 kB / 0.8162 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.7749, allocations: 2.441 MB / 0.8185 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.7749, allocations: 4 kB / 0.8185 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.7755, allocations: 139.7 kB / 0.8187 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/0.7755, allocations: 4 kB / 0.8187 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.7756, allocations: 23.98 kB / 0.8187 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.7756, allocations: 7.938 kB / 0.8187 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7756, allocations: 192 / 0.8187 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.7772, allocations: 1.078 MB / 0.8198 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/0.7778, allocations: 358.3 kB / 0.8201 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.7781, allocations: 12 kB / 0.8201 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/0.779, allocations: 95.66 kB / 0.8202 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.7792, allocations: 52.59 kB / 0.8203 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.7792, allocations: 23.98 kB / 0.8203 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001758/0.781, allocations: 1.256 MB / 0.8215 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.781, allocations: 0 / 0.8215 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002308/0.7833, allocations: 0.9044 MB / 0.8224 GB, free: 10.59 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007266/0.7841, allocations: 339.7 kB / 0.8227 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003325/0.7874, allocations: 1.703 MB / 0.8244 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7874, allocations: 1.5 kB / 0.8244 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.7881, allocations: 411.9 kB / 0.8248 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004821/0.7929, allocations: 1.092 MB / 0.8258 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.7986, allocations: 3.765 MB / 0.8295 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.7996, allocations: 1.405 MB / 0.8309 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006719/0.8003, allocations: 163.4 kB / 0.831 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.8003, allocations: 0 / 0.831 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of Templates: time 0.05009/0.8504, allocations: 30.85 MB / 0.8612 GB, free: 3.148 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)