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.001381/0.001381, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001215/0.001215, allocations: 187 kB / 17.34 MB, free: 5.719 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8101/0.8101, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 58.19 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1611, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03784/0.199, allocations: 30.75 MB / 0.6953 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.2155, allocations: 10.84 MB / 0.7059 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.2172, allocations: 31.81 kB / 0.706 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.2189, allocations: 397.2 kB / 0.7063 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.2228, allocations: 1.146 MB / 0.7074 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.2255, allocations: 0.8501 MB / 0.7083 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.2287, allocations: 2.065 MB / 0.7103 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.23, allocations: 0.6778 MB / 0.711 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.2324, allocations: 0.9959 MB / 0.7119 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.2337, allocations: 0.6768 MB / 0.7126 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.2339, allocations: 56 kB / 0.7126 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.2355, allocations: 0.6122 MB / 0.7132 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.2358, allocations: 167.2 kB / 0.7134 GB, free: 4.379 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007335/0.2365, allocations: 429.7 kB / 0.7138 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.2386, allocations: 1.11 MB / 0.7149 GB, free: 2.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2386, allocations: 0 / 0.7149 GB, free: 2.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2386, allocations: 4 kB / 0.7149 GB, free: 2.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.73e-05/0.2386, allocations: 0 / 0.7149 GB, free: 2.84 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.002489/0.2411, allocations: 1.156 MB / 0.716 GB, free: 1.633 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2412, allocations: 9.109 kB / 0.716 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.2414, allocations: 95.81 kB / 0.7161 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2426, allocations: 0.5844 MB / 0.7167 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.2427, allocations: 45 kB / 0.7167 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.2428, allocations: 52 kB / 0.7168 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.2436, allocations: 410.4 kB / 0.7172 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2436, allocations: 0 / 0.7172 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.2437, allocations: 24 kB / 0.7172 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.2437, allocations: 12 kB / 0.7172 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.2443, allocations: 303.8 kB / 0.7175 GB, free: 72 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.00304/0.2474, allocations: 1.854 MB / 0.7193 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.2477, allocations: 170.4 kB / 0.7195 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.2479, allocations: 84.8 kB / 0.7196 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.2482, allocations: 344.4 kB / 0.7199 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.2483, allocations: 38.5 kB / 0.7199 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.2483, allocations: 0 / 0.7199 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.000749/0.249, allocations: 314.8 kB / 0.7202 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2491, allocations: 55.41 kB / 0.7203 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.2498, allocations: 0.6843 MB / 0.7209 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.2499, allocations: 37.69 kB / 0.721 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.2502, allocations: 356.7 kB / 0.7213 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.2502, allocations: 67 kB / 0.7214 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.2504, allocations: 97.95 kB / 0.7215 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2506, allocations: 378.7 kB / 0.7218 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.2508, allocations: 114.3 kB / 0.7219 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.2511, allocations: 187.5 kB / 0.7221 GB, free: 11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.2516, allocations: 232.9 kB / 0.7224 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2516, allocations: 0 / 0.7224 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007342/0.2523, allocations: 398.2 kB / 0.7227 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2524, allocations: 9.562 kB / 0.7227 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2524, allocations: 0 / 0.7227 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2524, allocations: 8 kB / 0.7227 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.2534, allocations: 151.9 kB / 0.7229 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.2548, allocations: 2.363 MB / 0.7252 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.2553, allocations: 63.86 kB / 0.7253 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.2553, allocations: 12.09 kB / 0.7253 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000428/0.2558, allocations: 247.8 kB / 0.7255 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003229/0.2561, allocations: 175.5 kB / 0.7257 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004336/0.2566, allocations: 228.8 kB / 0.7259 GB, free: 7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.2566, allocations: 0 / 0.7259 GB, free: 7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007044/0.2573, allocations: 376.5 kB / 0.7263 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2573, allocations: 15.88 kB / 0.7263 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.2573, allocations: 4.141 kB / 0.7263 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-06/0.2573, allocations: 7.938 kB / 0.7263 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.2577, allocations: 103.9 kB / 0.7264 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2578, allocations: 0 / 0.7264 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.2582, allocations: 43.75 kB / 0.7264 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.2583, allocations: 16 kB / 0.7264 GB, free: 6.438 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.0001649/0.2585, allocations: 200.2 kB / 0.7266 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2586, allocations: 71.09 kB / 0.7267 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.2593, allocations: 313.6 kB / 0.727 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.2593, allocations: 3.984 kB / 0.727 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2593, allocations: 3.938 kB / 0.727 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2593, allocations: 8 kB / 0.727 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.2607, allocations: 0.8916 MB / 0.7279 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2608, allocations: 0 / 0.7279 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.2611, allocations: 71.89 kB / 0.7279 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.2611, allocations: 8.125 kB / 0.728 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2611, allocations: 3.984 kB / 0.728 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.2624, allocations: 2.352 MB / 0.7303 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2624, allocations: 0 / 0.7303 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.263, allocations: 394.1 kB / 0.7306 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.2632, allocations: 168.1 kB / 0.7308 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.2633, allocations: 8 kB / 0.7308 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.2637, allocations: 19.97 kB / 0.7308 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.2637, allocations: 19.92 kB / 0.7308 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.2638, allocations: 12 kB / 0.7309 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005767/0.2643, allocations: 475 kB / 0.7313 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2644, allocations: 0 / 0.7313 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009493/0.2653, allocations: 347.1 kB / 0.7316 GB, free: 0.8945 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.0006047/0.2659, allocations: 258.1 kB / 0.7319 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.2676, allocations: 495.8 kB / 0.7324 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2677, allocations: 0 / 0.7324 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.2681, allocations: 139.9 kB / 0.7325 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.2697, allocations: 327.2 kB / 0.7328 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2719, allocations: 1.134 MB / 0.7339 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.2725, allocations: 0.9334 MB / 0.7348 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.2726, allocations: 51.42 kB / 0.7349 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.2726, allocations: 0 / 0.7349 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.3532/0.6258, allocations: 21.97 MB / 0.7563 GB, free: 79.54 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)