Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001127/0.001127, allocations: 107 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.00115/0.00115, allocations: 187 kB / 17.34 MB, free: 5.742 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.346/1.346, 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/package.mo): time 0.798/0.798, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 57.12 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1596, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03462/0.1942, allocations: 30.75 MB / 0.6904 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.2091, allocations: 10.83 MB / 0.7009 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.2105, allocations: 27.81 kB / 0.701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.212, allocations: 397.2 kB / 0.7014 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003719/0.2158, allocations: 1.153 MB / 0.7025 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.2184, allocations: 0.8502 MB / 0.7033 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.2213, allocations: 2.061 MB / 0.7053 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.2226, allocations: 0.6894 MB / 0.706 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.2249, allocations: 0.996 MB / 0.707 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.2262, allocations: 0.6729 MB / 0.7076 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.2265, allocations: 56 kB / 0.7077 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.2282, allocations: 0.6161 MB / 0.7083 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.2284, allocations: 159.3 kB / 0.7084 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007648/0.2292, allocations: 441.6 kB / 0.7089 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.2313, allocations: 1.102 MB / 0.7099 GB, free: 7.309 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2313, allocations: 0 / 0.7099 GB, free: 7.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.534e-06/0.2313, allocations: 0 / 0.7099 GB, free: 7.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.692e-05/0.2313, allocations: 0 / 0.7099 GB, free: 7.309 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.002443/0.2338, allocations: 1.164 MB / 0.7111 GB, free: 6.094 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2338, allocations: 8.031 kB / 0.7111 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.2341, allocations: 95.81 kB / 0.7112 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.2352, allocations: 0.5921 MB / 0.7117 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.2353, allocations: 41 kB / 0.7118 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.409e-05/0.2354, allocations: 52 kB / 0.7118 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.2362, allocations: 410.4 kB / 0.7122 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2362, allocations: 0 / 0.7122 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.2363, allocations: 16 kB / 0.7122 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.2363, allocations: 12 kB / 0.7122 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.2369, allocations: 311.8 kB / 0.7125 GB, free: 4.527 MB / 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.003139/0.2401, allocations: 1.85 MB / 0.7144 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.2405, allocations: 170.4 kB / 0.7145 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.2407, allocations: 88.81 kB / 0.7146 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.241, allocations: 340.5 kB / 0.7149 GB, free: 1.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.241, allocations: 34.56 kB / 0.715 GB, free: 1.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.2411, allocations: 0 / 0.715 GB, free: 1.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0008216/0.2419, allocations: 310.4 kB / 0.7153 GB, free: 1.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2419, allocations: 59.41 kB / 0.7153 GB, free: 1.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.2428, allocations: 0.6843 MB / 0.716 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.2428, allocations: 33.7 kB / 0.716 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.2431, allocations: 360.6 kB / 0.7164 GB, free: 344 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.2432, allocations: 63.09 kB / 0.7164 GB, free: 280 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.2434, allocations: 97.95 kB / 0.7165 GB, free: 176 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.2436, allocations: 382.7 kB / 0.7169 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.2439, allocations: 114.3 kB / 0.717 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.2442, allocations: 183.5 kB / 0.7172 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.2447, allocations: 240.9 kB / 0.7174 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2448, allocations: 0 / 0.7174 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008227/0.2456, allocations: 394.2 kB / 0.7178 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2456, allocations: 11.98 kB / 0.7178 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2456, allocations: 0 / 0.7178 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2457, allocations: 0 / 0.7178 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.2467, allocations: 167.8 kB / 0.7179 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2482, allocations: 2.36 MB / 0.7202 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.2488, allocations: 55.59 kB / 0.7203 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.2488, allocations: 12 kB / 0.7203 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004565/0.2493, allocations: 256.9 kB / 0.7205 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003015/0.2496, allocations: 174.7 kB / 0.7207 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004374/0.2501, allocations: 224.6 kB / 0.7209 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.2501, allocations: 0 / 0.7209 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007432/0.2508, allocations: 384.7 kB / 0.7213 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2508, allocations: 13.5 kB / 0.7213 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2509, allocations: 0 / 0.7213 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2509, allocations: 4.109 kB / 0.7213 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.2513, allocations: 99.81 kB / 0.7214 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2513, allocations: 8.031 kB / 0.7214 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.2518, allocations: 39.83 kB / 0.7215 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.2518, allocations: 23.97 kB / 0.7215 GB, free: 10.89 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.0001558/0.252, allocations: 192.5 kB / 0.7217 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2521, allocations: 75 kB / 0.7217 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007109/0.2529, allocations: 306.8 kB / 0.722 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.2529, allocations: 0 / 0.722 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2529, allocations: 0 / 0.722 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.2529, allocations: 4.188 kB / 0.722 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2543, allocations: 0.8955 MB / 0.7229 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2544, allocations: 0 / 0.7229 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2547, allocations: 75.88 kB / 0.723 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/0.2547, allocations: 7.984 kB / 0.723 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2547, allocations: 4 kB / 0.723 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.2559, allocations: 2.36 MB / 0.7253 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2559, allocations: 0 / 0.7253 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.2565, allocations: 395.7 kB / 0.7257 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.2568, allocations: 168.2 kB / 0.7258 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.2569, allocations: 7.984 kB / 0.7258 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.2572, allocations: 15.98 kB / 0.7259 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.2573, allocations: 27.84 kB / 0.7259 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2573, allocations: 8 kB / 0.7259 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005521/0.2579, allocations: 475 kB / 0.7263 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2579, allocations: 0 / 0.7263 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009173/0.2588, allocations: 347.2 kB / 0.7267 GB, free: 5.355 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.0005608/0.2594, allocations: 257.7 kB / 0.7269 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.261, allocations: 497.3 kB / 0.7274 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.261, allocations: 0 / 0.7274 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.2614, allocations: 135.8 kB / 0.7275 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.2629, allocations: 335.8 kB / 0.7278 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.2649, allocations: 1.13 MB / 0.7289 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.2654, allocations: 0.9334 MB / 0.7299 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2655, allocations: 47.44 kB / 0.7299 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.2655, allocations: 0 / 0.7299 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.381/0.6466, allocations: 22.08 MB / 0.7515 GB, free: 84.27 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)