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.0008989/0.0008987, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001041/0.001041, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9806/0.9806, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 12 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 82.31 MB / 0.5874 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5322/0.7456, allocations: 142.6 MB / 0.7267 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04336/0.789, allocations: 28.6 MB / 0.7546 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008302/0.7974, allocations: 123.4 kB / 0.7547 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.8013, allocations: 0.6919 MB / 0.7554 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009938/0.8113, allocations: 2.506 MB / 0.7579 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006262/0.8176, allocations: 2.007 MB / 0.7598 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008811/0.8264, allocations: 6.239 MB / 0.7659 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.8297, allocations: 1.676 MB / 0.7675 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00683/0.8366, allocations: 2.209 MB / 0.7697 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.8411, allocations: 1.793 MB / 0.7714 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008872/0.842, allocations: 99.94 kB / 0.7715 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.8458, allocations: 0.854 MB / 0.7724 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.8469, allocations: 414 kB / 0.7728 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.8483, allocations: 468.5 kB / 0.7732 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003951/0.8523, allocations: 2.41 MB / 0.7756 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8523, allocations: 0 / 0.7756 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8523, allocations: 0 / 0.7756 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001471/0.8524, allocations: 0 / 0.7756 GB, free: 11.94 MB / 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.005739/0.8582, allocations: 2.38 MB / 0.7779 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.8583, allocations: 12.03 kB / 0.7779 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/0.859, allocations: 260.8 kB / 0.7782 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.8613, allocations: 1.362 MB / 0.7795 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/0.8614, allocations: 102.3 kB / 0.7796 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.8616, allocations: 136 kB / 0.7797 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.8637, allocations: 1.159 MB / 0.7808 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.8638, allocations: 8 kB / 0.7809 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.8639, allocations: 44 kB / 0.7809 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.8639, allocations: 28 kB / 0.7809 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.8657, allocations: 1.016 MB / 0.7819 GB, free: 5.273 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.009726/0.8755, allocations: 6.354 MB / 0.7881 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009284/0.8764, allocations: 0.5611 MB / 0.7887 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.877, allocations: 391.6 kB / 0.789 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004755/0.8775, allocations: 0.5031 MB / 0.7895 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.8776, allocations: 43.06 kB / 0.7896 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001574/0.8791, allocations: 334.7 kB / 0.7899 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.8791, allocations: 0 / 0.7899 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.001931/0.8811, allocations: 1.137 MB / 0.791 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.8811, allocations: 56.14 kB / 0.7911 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.8835, allocations: 1.881 MB / 0.7929 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.987e-05/0.8836, allocations: 45.7 kB / 0.7929 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008347/0.8844, allocations: 0.9223 MB / 0.7938 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.8846, allocations: 205.1 kB / 0.794 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.8847, allocations: 24 kB / 0.7941 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.8849, allocations: 349.9 kB / 0.7944 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.8856, allocations: 414.4 kB / 0.7948 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009155/0.8865, allocations: 0.6645 MB / 0.7954 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.8874, allocations: 498.3 kB / 0.7959 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8874, allocations: 0 / 0.7959 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00223/0.8896, allocations: 1.369 MB / 0.7972 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.8898, allocations: 190.6 kB / 0.7974 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.8898, allocations: 0 / 0.7974 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.8898, allocations: 15.95 kB / 0.7974 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.891, allocations: 295.5 kB / 0.7977 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.8911, allocations: 8 kB / 0.7977 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.8926, allocations: 155.5 kB / 0.7979 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.8928, allocations: 55.95 kB / 0.7979 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.8928, allocations: 7.938 kB / 0.7979 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001828/0.8946, allocations: 1.144 MB / 0.7991 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8946, allocations: 8 kB / 0.7991 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.8946, allocations: 8 kB / 0.7991 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.8957, allocations: 283.5 kB / 0.7993 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.8957, allocations: 8 kB / 0.7994 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.8971, allocations: 155.2 kB / 0.7995 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.8972, allocations: 63.95 kB / 0.7996 GB, free: 2.406 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007958/0.898, allocations: 444.8 kB / 0.8 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.8983, allocations: 201.4 kB / 0.8002 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.9003, allocations: 1.076 MB / 0.8012 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.9003, allocations: 8 kB / 0.8012 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9003, allocations: 0 / 0.8012 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.9003, allocations: 7.922 kB / 0.8012 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.9039, allocations: 2.418 MB / 0.8036 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.9039, allocations: 0 / 0.8036 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.9045, allocations: 148 kB / 0.8037 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.9045, allocations: 4 kB / 0.8037 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.9045, allocations: 23.94 kB / 0.8038 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.9045, allocations: 7.938 kB / 0.8038 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9046, allocations: 4 kB / 0.8038 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.906, allocations: 1.051 MB / 0.8048 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/0.9066, allocations: 382.3 kB / 0.8052 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.9068, allocations: 19.98 kB / 0.8052 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.9077, allocations: 103.6 kB / 0.8053 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.9078, allocations: 52.58 kB / 0.8053 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.9078, allocations: 24 kB / 0.8054 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001633/0.9095, allocations: 1.229 MB / 0.8066 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9095, allocations: 0 / 0.8066 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002183/0.9117, allocations: 0.8966 MB / 0.8074 GB, free: 10.17 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00074/0.9124, allocations: 340.3 kB / 0.8078 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002697/0.9151, allocations: 1.587 MB / 0.8093 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.9152, allocations: 4.125 kB / 0.8093 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.9158, allocations: 403.5 kB / 0.8097 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/0.9208, allocations: 1.126 MB / 0.8108 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.926, allocations: 3.52 MB / 0.8142 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009621/0.927, allocations: 1.405 MB / 0.8156 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001905/0.9289, allocations: 400 kB / 0.816 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.9293, allocations: 163.4 kB / 0.8162 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.9293, allocations: 0 / 0.8162 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of Templates: time 0.06807/0.9974, allocations: 35.96 MB / 0.8513 GB, free: 13.72 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)