Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006927/0.006927, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001153/0.001154, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7822/0.7822, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.5 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1827, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01998/0.2027, allocations: 19.45 MB / 0.6787 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007629/0.2104, allocations: 5.145 MB / 0.6837 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009056/0.2114, allocations: 15.88 kB / 0.6837 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.2122, allocations: 278 kB / 0.684 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.2144, allocations: 0.8073 MB / 0.6848 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.2168, allocations: 0.8701 MB / 0.6856 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.2187, allocations: 1.572 MB / 0.6871 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.2194, allocations: 0.5054 MB / 0.6876 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.2205, allocations: 0.6421 MB / 0.6883 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006318/0.2212, allocations: 0.5368 MB / 0.6888 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.2213, allocations: 56 kB / 0.6888 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.2226, allocations: 0.694 MB / 0.6895 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.2228, allocations: 159.4 kB / 0.6897 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.2232, allocations: 378 kB / 0.69 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.2246, allocations: 1.106 MB / 0.6911 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2246, allocations: 4 kB / 0.6911 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2246, allocations: 4 kB / 0.6911 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.2246, allocations: 3.938 kB / 0.6911 GB, free: 9.93 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001864/0.2265, allocations: 1.094 MB / 0.6922 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2265, allocations: 12.03 kB / 0.6922 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.2267, allocations: 83.91 kB / 0.6923 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.2275, allocations: 0.518 MB / 0.6928 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.2276, allocations: 36.98 kB / 0.6928 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.2276, allocations: 48 kB / 0.6929 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2287, allocations: 0.6254 MB / 0.6935 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2287, allocations: 4 kB / 0.6935 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.2288, allocations: 16 kB / 0.6935 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2288, allocations: 12 kB / 0.6935 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2299, allocations: 499.4 kB / 0.694 GB, free: 6.836 MB / 0.5294 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.003434/0.2333, allocations: 3.208 MB / 0.6971 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.2341, allocations: 340.4 kB / 0.6974 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.2346, allocations: 232.7 kB / 0.6977 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/0.2349, allocations: 348.4 kB / 0.698 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.235, allocations: 38.56 kB / 0.698 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.725e-06/0.235, allocations: 0 / 0.698 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.00221/0.2372, allocations: 0.8081 MB / 0.6988 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2373, allocations: 55.41 kB / 0.6989 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/0.2379, allocations: 0.5862 MB / 0.6994 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.238, allocations: 33.7 kB / 0.6995 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.2382, allocations: 328.4 kB / 0.6998 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2384, allocations: 130.1 kB / 0.6999 GB, free: 420 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.2386, allocations: 126.2 kB / 0.7 GB, free: 288 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.2388, allocations: 374.7 kB / 0.7004 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.2393, allocations: 227.3 kB / 0.7006 GB, free: 15.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.2399, allocations: 368 kB / 0.701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.241, allocations: 0.5704 MB / 0.7015 GB, free: 14.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.241, allocations: 4 kB / 0.7015 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001501/0.2425, allocations: 0.7187 MB / 0.7022 GB, free: 13.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2426, allocations: 8.062 kB / 0.7022 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2426, allocations: 8 kB / 0.7022 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.2432, allocations: 136.8 kB / 0.7024 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.2438, allocations: 139.8 kB / 0.7025 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005656/0.2444, allocations: 0.6148 MB / 0.7031 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.245, allocations: 87.25 kB / 0.7032 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.2451, allocations: 27.98 kB / 0.7032 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006904/0.2458, allocations: 354.2 kB / 0.7036 GB, free: 12.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005995/0.2464, allocations: 368 kB / 0.7039 GB, free: 12.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001073/0.2475, allocations: 0.5588 MB / 0.7044 GB, free: 11.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.2475, allocations: 3.938 kB / 0.7045 GB, free: 11.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0014/0.2489, allocations: 0.6746 MB / 0.7051 GB, free: 10.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2489, allocations: 4 kB / 0.7051 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2489, allocations: 4 kB / 0.7051 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.2489, allocations: 8 kB / 0.7051 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.2496, allocations: 160.2 kB / 0.7053 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2496, allocations: 12 kB / 0.7053 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.2501, allocations: 67.5 kB / 0.7054 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.2502, allocations: 31.98 kB / 0.7054 GB, free: 10.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.2504, allocations: 216.1 kB / 0.7056 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2506, allocations: 63.25 kB / 0.7057 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.2521, allocations: 0.6451 MB / 0.7063 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.2522, allocations: 8 kB / 0.7063 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.2522, allocations: 0 / 0.7063 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2522, allocations: 64 / 0.7063 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.2548, allocations: 1.369 MB / 0.7076 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2548, allocations: 4 kB / 0.7076 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.2552, allocations: 79.88 kB / 0.7077 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.2556, allocations: 112.9 kB / 0.7078 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.2556, allocations: 12 kB / 0.7078 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000617/0.2562, allocations: 0.6264 MB / 0.7084 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2562, allocations: 4.031 kB / 0.7084 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.2576, allocations: 0.7019 MB / 0.7091 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2579, allocations: 196.1 kB / 0.7093 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.258, allocations: 4 kB / 0.7093 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.2584, allocations: 39.95 kB / 0.7094 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.2585, allocations: 31.95 kB / 0.7094 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.2585, allocations: 16 kB / 0.7094 GB, free: 6.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004792/0.259, allocations: 403.1 kB / 0.7098 GB, free: 5.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.259, allocations: 0 / 0.7098 GB, free: 5.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001135/0.2602, allocations: 391.3 kB / 0.7102 GB, free: 5.449 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006695/0.2608, allocations: 312.8 kB / 0.7105 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.2629, allocations: 0.8656 MB / 0.7113 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2629, allocations: 4 kB / 0.7113 GB, free: 4.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007029/0.2636, allocations: 285.3 kB / 0.7116 GB, free: 4.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2648, allocations: 224.8 kB / 0.7118 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2668, allocations: 1.068 MB / 0.7128 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.2673, allocations: 0.9077 MB / 0.7137 GB, free: 1.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005217/0.2678, allocations: 160.4 kB / 0.7139 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.268, allocations: 59.42 kB / 0.7139 GB, free: 1.543 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.268, allocations: 3.938 kB / 0.7139 GB, free: 1.539 MB / 0.545 GB Notification: Performance of Templates: time 0.02154/0.2895, allocations: 12.72 MB / 0.7264 GB, free: 4.996 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)