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.001623/0.001623, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00169/0.00169, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.998/0.998, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 65.53 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1913, allocations: 81.03 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4593/0.6507, allocations: 153 MB / 0.7339 GB, free: 444 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04595/0.6967, allocations: 30.16 MB / 0.7633 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00562/0.7023, allocations: 127.1 kB / 0.7634 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.7056, allocations: 0.8663 MB / 0.7643 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.7145, allocations: 2.939 MB / 0.7672 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006515/0.721, allocations: 2.289 MB / 0.7694 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009289/0.7303, allocations: 5.383 MB / 0.7747 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.7343, allocations: 2.198 MB / 0.7768 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006425/0.7408, allocations: 2.704 MB / 0.7794 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003542/0.7444, allocations: 2.011 MB / 0.7814 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004771/0.7449, allocations: 212 kB / 0.7816 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.7473, allocations: 1.1 MB / 0.7827 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.7479, allocations: 0.5565 MB / 0.7832 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.7499, allocations: 1.271 MB / 0.7845 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.7554, allocations: 3.282 MB / 0.7877 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.7554, allocations: 0 / 0.7877 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7554, allocations: 4 kB / 0.7877 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.632e-05/0.7555, allocations: 4 kB / 0.7877 GB, free: 13.45 MB / 0.6075 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.006038/0.7615, allocations: 2.788 MB / 0.7904 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.7616, allocations: 8.031 kB / 0.7904 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.7621, allocations: 264.8 kB / 0.7907 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.7647, allocations: 1.442 MB / 0.7921 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.7648, allocations: 106.3 kB / 0.7922 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.765, allocations: 136 kB / 0.7923 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.7673, allocations: 1.163 MB / 0.7934 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.7673, allocations: 0 / 0.7934 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.7674, allocations: 48 kB / 0.7935 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.7675, allocations: 31.98 kB / 0.7935 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.7693, allocations: 1.013 MB / 0.7945 GB, free: 6.289 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.01128/0.7806, allocations: 6.326 MB / 0.8007 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.7817, allocations: 0.5656 MB / 0.8012 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000599/0.7823, allocations: 390.9 kB / 0.8016 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/0.7829, allocations: 0.4992 MB / 0.8021 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.7829, allocations: 43.11 kB / 0.8021 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001918/0.7848, allocations: 306.8 kB / 0.8024 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 5.1e-06/0.7849, allocations: 3.938 kB / 0.8024 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.00238/0.7872, allocations: 1.164 MB / 0.8036 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.7873, allocations: 63.91 kB / 0.8036 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.7903, allocations: 1.896 MB / 0.8055 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.7905, allocations: 45.7 kB / 0.8055 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.7915, allocations: 0.9185 MB / 0.8064 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.7918, allocations: 201.1 kB / 0.8066 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/0.7923, allocations: 302.5 kB / 0.8069 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.7925, allocations: 349.9 kB / 0.8072 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009514/0.7935, allocations: 457.9 kB / 0.8077 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.7947, allocations: 0.6978 MB / 0.8084 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.7963, allocations: 0.9735 MB / 0.8093 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7964, allocations: 0 / 0.8093 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002994/0.7994, allocations: 1.439 MB / 0.8107 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.7994, allocations: 8 kB / 0.8107 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7994, allocations: 0 / 0.8107 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.7995, allocations: 12 kB / 0.8107 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.8008, allocations: 283.5 kB / 0.811 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/0.8008, allocations: 19.86 kB / 0.811 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.8029, allocations: 153.9 kB / 0.8112 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.8031, allocations: 59.95 kB / 0.8112 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00152/0.8046, allocations: 0.7212 MB / 0.8119 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.8056, allocations: 0.6699 MB / 0.8126 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001571/0.8072, allocations: 0.9305 MB / 0.8135 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.542e-06/0.8072, allocations: 4 kB / 0.8135 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002666/0.8099, allocations: 1.377 MB / 0.8148 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.81, allocations: 4 kB / 0.8148 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.81, allocations: 7.938 kB / 0.8149 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.81, allocations: 8.375 kB / 0.8149 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.8112, allocations: 283.6 kB / 0.8151 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.8113, allocations: 11.94 kB / 0.8151 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.8132, allocations: 160.2 kB / 0.8153 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.8134, allocations: 59.95 kB / 0.8154 GB, free: 16 kB / 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.0004136/0.8138, allocations: 236 kB / 0.8156 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.8142, allocations: 201.5 kB / 0.8158 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.8164, allocations: 1.095 MB / 0.8168 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.8164, allocations: 8 kB / 0.8168 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.8165, allocations: 5.25 kB / 0.8168 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.8165, allocations: 3.984 kB / 0.8169 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/0.8206, allocations: 2.445 MB / 0.8192 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.8206, allocations: 0 / 0.8192 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.8212, allocations: 136 kB / 0.8194 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.8212, allocations: 11.94 kB / 0.8194 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.8213, allocations: 16 kB / 0.8194 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.8213, allocations: 11.92 kB / 0.8194 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8213, allocations: 0.5 kB / 0.8194 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.8229, allocations: 1.074 MB / 0.8205 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006411/0.8236, allocations: 362.2 kB / 0.8208 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.8238, allocations: 16 kB / 0.8208 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.8248, allocations: 99.75 kB / 0.8209 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8249, allocations: 48.59 kB / 0.821 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.825, allocations: 23.98 kB / 0.821 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00176/0.8268, allocations: 1.252 MB / 0.8222 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8268, allocations: 0 / 0.8222 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002175/0.829, allocations: 0.9083 MB / 0.8231 GB, free: 7.922 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.0007713/0.8297, allocations: 348.2 kB / 0.8234 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.8331, allocations: 1.697 MB / 0.8251 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8331, allocations: 4.125 kB / 0.8251 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/0.8337, allocations: 411.5 kB / 0.8255 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/0.8381, allocations: 1.086 MB / 0.8265 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.8434, allocations: 3.727 MB / 0.8302 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.8446, allocations: 1.416 MB / 0.8316 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001867/0.8465, allocations: 397 kB / 0.8319 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.847, allocations: 159.4 kB / 0.8321 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.847, allocations: 0 / 0.8321 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.3169/1.164, allocations: 38.19 MB / 0.8694 GB, free: 216.6 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)