Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001039/0.001039, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7235/0.7235, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.72 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3923, allocations: 80.21 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1497/0.542, allocations: 154.4 MB / 0.7308 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04468/0.5868, allocations: 30.37 MB / 0.7605 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006831/0.5936, allocations: 135.2 kB / 0.7606 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004569/0.5983, allocations: 1.036 MB / 0.7616 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.6084, allocations: 3.167 MB / 0.7647 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006456/0.6149, allocations: 2.473 MB / 0.7672 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007789/0.6227, allocations: 5.361 MB / 0.7724 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003807/0.6265, allocations: 2.229 MB / 0.7746 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.6321, allocations: 2.681 MB / 0.7772 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.6357, allocations: 1.961 MB / 0.7791 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008352/0.6366, allocations: 216 kB / 0.7793 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.6396, allocations: 1.088 MB / 0.7804 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008568/0.6405, allocations: 0.5603 MB / 0.7809 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.6427, allocations: 1.259 MB / 0.7821 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004327/0.647, allocations: 3.282 MB / 0.7853 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6471, allocations: 7.984 kB / 0.7854 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6471, allocations: 0 / 0.7854 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001048/0.6472, allocations: 0 / 0.7854 GB, free: 14.71 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.00525/0.6524, allocations: 2.787 MB / 0.7881 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6525, allocations: 8.031 kB / 0.7881 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.653, allocations: 264.8 kB / 0.7883 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.6552, allocations: 1.446 MB / 0.7898 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.6553, allocations: 102.3 kB / 0.7898 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.6555, allocations: 136 kB / 0.79 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.6575, allocations: 1.163 MB / 0.7911 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6575, allocations: 4 kB / 0.7911 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.6576, allocations: 44 kB / 0.7912 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.6577, allocations: 28 kB / 0.7912 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.6594, allocations: 1.016 MB / 0.7922 GB, free: 7.547 MB / 0.6231 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.01069/0.6701, allocations: 6.363 MB / 0.7984 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.6711, allocations: 0.5768 MB / 0.799 GB, free: 132 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.6717, allocations: 381.9 kB / 0.7993 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.6722, allocations: 0.5069 MB / 0.7998 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.6723, allocations: 39.12 kB / 0.7999 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001538/0.6738, allocations: 234.8 kB / 0.8001 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 6.231e-06/0.6739, allocations: 0 / 0.8001 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002424/0.6763, allocations: 1.168 MB / 0.8012 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.6763, allocations: 55.97 kB / 0.8013 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.6795, allocations: 1.9 MB / 0.8031 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.6797, allocations: 41.7 kB / 0.8032 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/0.6806, allocations: 0.9224 MB / 0.8041 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.6808, allocations: 205 kB / 0.8043 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006171/0.6814, allocations: 294.6 kB / 0.8045 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6816, allocations: 353.9 kB / 0.8049 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008868/0.6825, allocations: 457.9 kB / 0.8053 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.6835, allocations: 0.6972 MB / 0.806 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.6852, allocations: 0.9813 MB / 0.807 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6852, allocations: 0 / 0.807 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003037/0.6882, allocations: 1.428 MB / 0.8084 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.6883, allocations: 8 kB / 0.8084 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6883, allocations: 8 kB / 0.8084 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.55e-05/0.6884, allocations: 11.94 kB / 0.8084 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6896, allocations: 291.9 kB / 0.8087 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/0.6896, allocations: 12 kB / 0.8087 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.6912, allocations: 83.77 kB / 0.8087 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.6914, allocations: 59.95 kB / 0.8088 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001311/0.6927, allocations: 0.725 MB / 0.8095 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009655/0.6936, allocations: 0.6722 MB / 0.8102 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/0.6951, allocations: 0.9344 MB / 0.8111 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.6951, allocations: 0 / 0.8111 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002526/0.6977, allocations: 1.369 MB / 0.8124 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6977, allocations: 11.98 kB / 0.8124 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6977, allocations: 7.938 kB / 0.8124 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6977, allocations: 8 kB / 0.8124 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6989, allocations: 275.6 kB / 0.8127 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.6989, allocations: 23.86 kB / 0.8127 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.7005, allocations: 95.84 kB / 0.8128 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.7007, allocations: 55.95 kB / 0.8129 GB, free: 1.41 MB / 0.6387 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.0003186/0.701, allocations: 236 kB / 0.8131 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.7015, allocations: 205.5 kB / 0.8133 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2446/0.9461, allocations: 1.087 MB / 0.8144 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.9462, allocations: 12.16 kB / 0.8144 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.9462, allocations: 0.5 kB / 0.8144 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.9462, allocations: 5.719 kB / 0.8144 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.9501, allocations: 2.442 MB / 0.8168 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.9501, allocations: 1.719 kB / 0.8168 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.9507, allocations: 142 kB / 0.8169 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.9507, allocations: 4.875 kB / 0.8169 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.9508, allocations: 21.2 kB / 0.8169 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.9508, allocations: 5.25 kB / 0.8169 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9508, allocations: 5.906 kB / 0.8169 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.9522, allocations: 1.065 MB / 0.818 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.9527, allocations: 363.5 kB / 0.8183 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.9529, allocations: 13.31 kB / 0.8183 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007414/0.9536, allocations: 39.98 kB / 0.8184 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.9538, allocations: 54.95 kB / 0.8184 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.9538, allocations: 24.27 kB / 0.8184 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001621/0.9555, allocations: 1.254 MB / 0.8197 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9555, allocations: 1.094 kB / 0.8197 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001967/0.9574, allocations: 0.9038 MB / 0.8206 GB, free: 215.5 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.0006117/0.958, allocations: 352.7 kB / 0.8209 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003059/0.9611, allocations: 1.696 MB / 0.8225 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9611, allocations: 3.938 kB / 0.8226 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.9617, allocations: 410.2 kB / 0.8229 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/0.9659, allocations: 1.085 MB / 0.824 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.9703, allocations: 3.043 MB / 0.827 GB, free: 213 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/0.9712, allocations: 1.406 MB / 0.8283 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001901/0.9731, allocations: 400.4 kB / 0.8287 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.9735, allocations: 162.7 kB / 0.8289 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.9735, allocations: 8.469 kB / 0.8289 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.04947/1.023, allocations: 38.42 MB / 0.8664 GB, free: 183.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)