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.001411/0.001411, allocations: 110.4 kB / 16.41 MB, free: 6.5 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.001339/0.001339, allocations: 183 kB / 17.34 MB, free: 5.762 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.419/1.419, 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.8466/0.8466, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 59.19 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1493, allocations: 80.91 MB / 0.6654 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5122/0.6615, allocations: 154.6 MB / 0.8164 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04369/0.7052, allocations: 30.4 MB / 0.8461 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007015/0.7122, allocations: 141.4 kB / 0.8462 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.7157, allocations: 1.064 MB / 0.8472 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009665/0.7254, allocations: 3.324 MB / 0.8505 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006761/0.7321, allocations: 2.51 MB / 0.8529 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008612/0.7407, allocations: 5.383 MB / 0.8582 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.7441, allocations: 1.897 MB / 0.86 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006313/0.7504, allocations: 2.774 MB / 0.8628 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003884/0.7543, allocations: 1.972 MB / 0.8647 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006622/0.755, allocations: 216 kB / 0.8649 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.7579, allocations: 1.092 MB / 0.866 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006979/0.7586, allocations: 0.5796 MB / 0.8665 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.7606, allocations: 1.275 MB / 0.8678 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00529/0.7659, allocations: 3.366 MB / 0.8711 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7659, allocations: 0 / 0.8711 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7659, allocations: 0 / 0.8711 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.759e-05/0.7659, allocations: 0 / 0.8711 GB, free: 4.566 MB / 0.6231 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.005387/0.7713, allocations: 2.799 MB / 0.8738 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7714, allocations: 9.109 kB / 0.8738 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.7719, allocations: 278.3 kB / 0.8741 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.7747, allocations: 1.529 MB / 0.8756 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.7748, allocations: 102.3 kB / 0.8757 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.775, allocations: 143.9 kB / 0.8758 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.7774, allocations: 1.183 MB / 0.8769 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.7775, allocations: 0.875 kB / 0.8769 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.7776, allocations: 55.98 kB / 0.877 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.7776, allocations: 28 kB / 0.877 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.7797, allocations: 1.048 MB / 0.878 GB, free: 13.23 MB / 0.6387 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.01204/0.7917, allocations: 6.345 MB / 0.8842 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.7928, allocations: 0.5404 MB / 0.8848 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.7935, allocations: 360.4 kB / 0.8851 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/0.794, allocations: 0.5109 MB / 0.8856 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.7941, allocations: 47.06 kB / 0.8857 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001937/0.796, allocations: 311.3 kB / 0.886 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.117e-06/0.796, allocations: 0 / 0.886 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.00258/0.7986, allocations: 1.173 MB / 0.8871 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.7986, allocations: 59.91 kB / 0.8872 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.8015, allocations: 1.9 MB / 0.889 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.8017, allocations: 45.64 kB / 0.8891 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009953/0.8027, allocations: 0.9353 MB / 0.89 GB, free: 372 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.803, allocations: 218.2 kB / 0.8902 GB, free: 152 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000589/0.8036, allocations: 298.8 kB / 0.8905 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.8038, allocations: 345.9 kB / 0.8908 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009973/0.8048, allocations: 461.9 kB / 0.8912 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.806, allocations: 0.6996 MB / 0.8919 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.8078, allocations: 0.9812 MB / 0.8929 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.8078, allocations: 4 kB / 0.8929 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003037/0.8109, allocations: 1.437 MB / 0.8943 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.8109, allocations: 9.719 kB / 0.8943 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.8109, allocations: 4.375 kB / 0.8943 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.8109, allocations: 12 kB / 0.8943 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.8123, allocations: 287.5 kB / 0.8946 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.8123, allocations: 8 kB / 0.8946 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.814, allocations: 87.86 kB / 0.8947 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.8142, allocations: 63.94 kB / 0.8947 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001476/0.8156, allocations: 0.7134 MB / 0.8954 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001122/0.8168, allocations: 0.6684 MB / 0.8961 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001659/0.8184, allocations: 0.9344 MB / 0.897 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.8184, allocations: 0 / 0.897 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002921/0.8213, allocations: 1.394 MB / 0.8984 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8214, allocations: 8 kB / 0.8984 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8214, allocations: 4 kB / 0.8984 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8214, allocations: 8 kB / 0.8984 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.8226, allocations: 287.9 kB / 0.8987 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.8226, allocations: 11.94 kB / 0.8987 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.8246, allocations: 99.86 kB / 0.8988 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.8247, allocations: 55.95 kB / 0.8988 GB, free: 7.031 MB / 0.6544 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.0003902/0.8251, allocations: 236 kB / 0.899 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004867/0.8256, allocations: 218.6 kB / 0.8992 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.828, allocations: 1.091 MB / 0.9003 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.828, allocations: 11.94 kB / 0.9003 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.828, allocations: 0 / 0.9003 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.828, allocations: 3.984 kB / 0.9003 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.8324, allocations: 2.449 MB / 0.9027 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.8324, allocations: 0 / 0.9027 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.833, allocations: 135.8 kB / 0.9028 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.833, allocations: 4 kB / 0.9028 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.8331, allocations: 23.98 kB / 0.9029 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.8331, allocations: 4.188 kB / 0.9029 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.8331, allocations: 12 kB / 0.9029 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.835, allocations: 1.083 MB / 0.9039 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.8357, allocations: 371.5 kB / 0.9043 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.8359, allocations: 12 kB / 0.9043 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.8367, allocations: 35.95 kB / 0.9043 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.8368, allocations: 52.59 kB / 0.9044 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.8369, allocations: 31.92 kB / 0.9044 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001885/0.8387, allocations: 1.252 MB / 0.9056 GB, free: 15.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8387, allocations: 0 / 0.9056 GB, free: 15.86 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002355/0.8411, allocations: 0.9085 MB / 0.9065 GB, free: 14.95 MB / 0.67 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.0007974/0.8419, allocations: 347.5 kB / 0.9069 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00307/0.845, allocations: 1.524 MB / 0.9084 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.845, allocations: 0 / 0.9084 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.8456, allocations: 371.5 kB / 0.9087 GB, free: 12.73 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/0.8504, allocations: 1.076 MB / 0.9098 GB, free: 11.68 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.856, allocations: 3.108 MB / 0.9128 GB, free: 8.508 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.8572, allocations: 1.397 MB / 0.9142 GB, free: 7.078 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006629/0.8579, allocations: 167.4 kB / 0.9143 GB, free: 6.914 MB / 0.67 GB Notification: Performance of SimCode: time 1.283e-06/0.8579, allocations: 4 kB / 0.9143 GB, free: 6.91 MB / 0.67 GB Notification: Performance of Templates: time 0.05114/0.909, allocations: 31.21 MB / 0.9448 GB, free: 7.953 MB / 0.7012 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)