Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007332/0.007332, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001691/0.001691, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8282/0.8282, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.28 kB / 0.5856 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1827, allocations: 80.93 MB / 0.6647 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03611/0.2189, allocations: 30.75 MB / 0.6947 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.2353, allocations: 10.83 MB / 0.7053 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.237, allocations: 23.88 kB / 0.7053 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.2387, allocations: 405.2 kB / 0.7057 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.2428, allocations: 1.197 MB / 0.7068 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.2457, allocations: 0.8624 MB / 0.7077 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003265/0.2489, allocations: 2.064 MB / 0.7097 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.2503, allocations: 0.6855 MB / 0.7104 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.2528, allocations: 0.9999 MB / 0.7113 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.2544, allocations: 0.6767 MB / 0.712 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.2547, allocations: 56 kB / 0.7121 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.2566, allocations: 0.6122 MB / 0.7127 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.2569, allocations: 163.3 kB / 0.7128 GB, free: 4.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008702/0.2578, allocations: 437.6 kB / 0.7132 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.2603, allocations: 1.102 MB / 0.7143 GB, free: 2.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2604, allocations: 0 / 0.7143 GB, free: 2.848 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2604, allocations: 0 / 0.7143 GB, free: 2.848 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.462e-05/0.2604, allocations: 0 / 0.7143 GB, free: 2.848 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002539/0.263, allocations: 1.164 MB / 0.7154 GB, free: 1.633 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.263, allocations: 9.109 kB / 0.7154 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.2633, allocations: 95.81 kB / 0.7155 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.2645, allocations: 0.5844 MB / 0.7161 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.2646, allocations: 41 kB / 0.7161 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.2647, allocations: 56 kB / 0.7162 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.2656, allocations: 410.4 kB / 0.7166 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2656, allocations: 0 / 0.7166 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.2656, allocations: 16 kB / 0.7166 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2656, allocations: 19.88 kB / 0.7166 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.2663, allocations: 299.8 kB / 0.7169 GB, free: 76 kB / 0.545 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.003242/0.2696, allocations: 1.857 MB / 0.7187 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.2699, allocations: 178.3 kB / 0.7189 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.2701, allocations: 84.81 kB / 0.719 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.2705, allocations: 348.4 kB / 0.7193 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2705, allocations: 34.56 kB / 0.7193 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.2705, allocations: 0 / 0.7193 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0008545/0.2714, allocations: 307 kB / 0.7196 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.2714, allocations: 59.41 kB / 0.7197 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.2723, allocations: 0.6843 MB / 0.7204 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.2724, allocations: 29.7 kB / 0.7204 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.2727, allocations: 360.7 kB / 0.7207 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.2728, allocations: 70.94 kB / 0.7208 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.273, allocations: 97.95 kB / 0.7209 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2732, allocations: 378.7 kB / 0.7213 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.2735, allocations: 118.3 kB / 0.7214 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.2738, allocations: 175.5 kB / 0.7215 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.2743, allocations: 244.9 kB / 0.7218 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2744, allocations: 4 kB / 0.7218 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008454/0.2752, allocations: 390.2 kB / 0.7221 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2752, allocations: 4 kB / 0.7222 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2753, allocations: 0 / 0.7222 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.2753, allocations: 4 kB / 0.7222 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.2764, allocations: 167.9 kB / 0.7223 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.2779, allocations: 2.364 MB / 0.7246 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.2785, allocations: 51.56 kB / 0.7247 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.2785, allocations: 16 kB / 0.7247 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004683/0.279, allocations: 252 kB / 0.7249 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003002/0.2793, allocations: 171.5 kB / 0.7251 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004478/0.2798, allocations: 228.8 kB / 0.7253 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.2798, allocations: 0 / 0.7253 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000796/0.2806, allocations: 384.5 kB / 0.7257 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2806, allocations: 7.938 kB / 0.7257 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2806, allocations: 4 kB / 0.7257 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.2806, allocations: 112 / 0.7257 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.2811, allocations: 103.8 kB / 0.7258 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2811, allocations: 7.938 kB / 0.7258 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.2816, allocations: 47.72 kB / 0.7258 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2816, allocations: 15.98 kB / 0.7259 GB, free: 6.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.2818, allocations: 196.2 kB / 0.726 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.2819, allocations: 71.09 kB / 0.7261 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007035/0.2827, allocations: 299.9 kB / 0.7264 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2827, allocations: 4 kB / 0.7264 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2827, allocations: 0 / 0.7264 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2827, allocations: 192 / 0.7264 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.2842, allocations: 0.9032 MB / 0.7273 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2842, allocations: 4 kB / 0.7273 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.2845, allocations: 72.02 kB / 0.7274 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.2845, allocations: 3.984 kB / 0.7274 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.2846, allocations: 8 kB / 0.7274 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.2858, allocations: 2.352 MB / 0.7297 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2858, allocations: 8.016 kB / 0.7297 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2865, allocations: 393.5 kB / 0.73 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.2867, allocations: 172.1 kB / 0.7302 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.2868, allocations: 0 / 0.7302 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.2872, allocations: 19.97 kB / 0.7302 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.2872, allocations: 19.92 kB / 0.7302 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2873, allocations: 11.98 kB / 0.7303 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005945/0.2879, allocations: 475 kB / 0.7307 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2879, allocations: 4 kB / 0.7307 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009919/0.2889, allocations: 351.1 kB / 0.7311 GB, free: 0.8867 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006083/0.2895, allocations: 255.8 kB / 0.7313 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.2912, allocations: 493.5 kB / 0.7318 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2912, allocations: 3.938 kB / 0.7318 GB, free: 160 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.2917, allocations: 131.9 kB / 0.7319 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.2933, allocations: 337.5 kB / 0.7322 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.2953, allocations: 1.096 MB / 0.7333 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.2958, allocations: 0.9334 MB / 0.7342 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000458/0.2963, allocations: 117.2 kB / 0.7343 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2964, allocations: 47.44 kB / 0.7344 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.2964, allocations: 4 kB / 0.7344 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.02417/0.3206, allocations: 12.64 MB / 0.7467 GB, free: 1.004 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)