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.00608/0.006081, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001291/0.001291, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7996/0.7996, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.5 kB / 0.5814 GB, free: 1.027 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 80.2 MB / 0.6597 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0201/0.1783, allocations: 19.45 MB / 0.6787 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006934/0.1853, allocations: 5.151 MB / 0.6837 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.1859, allocations: 19.88 kB / 0.6837 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.1867, allocations: 278 kB / 0.684 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.1884, allocations: 0.7965 MB / 0.6848 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.1903, allocations: 0.8834 MB / 0.6856 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1918, allocations: 1.556 MB / 0.6871 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.1924, allocations: 0.5093 MB / 0.6876 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.1933, allocations: 0.6382 MB / 0.6883 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005864/0.1939, allocations: 0.5331 MB / 0.6888 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.832e-05/0.194, allocations: 59.94 kB / 0.6888 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.1951, allocations: 0.7016 MB / 0.6895 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1953, allocations: 159.4 kB / 0.6897 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.1956, allocations: 382 kB / 0.69 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1968, allocations: 1.094 MB / 0.6911 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1968, allocations: 0 / 0.6911 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1968, allocations: 0 / 0.6911 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1968, allocations: 0 / 0.6911 GB, free: 13.3 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.001761/0.1986, allocations: 1.102 MB / 0.6922 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1986, allocations: 16.03 kB / 0.6922 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.1987, allocations: 83.91 kB / 0.6923 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.1995, allocations: 0.5258 MB / 0.6928 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1996, allocations: 37 kB / 0.6928 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.1996, allocations: 48 kB / 0.6929 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009831/0.2006, allocations: 0.6176 MB / 0.6935 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2007, allocations: 11.94 kB / 0.6935 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.2007, allocations: 20 kB / 0.6935 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2007, allocations: 12 kB / 0.6935 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.2017, allocations: 491.4 kB / 0.694 GB, free: 10.2 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.003189/0.2049, allocations: 3.201 MB / 0.6971 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.2056, allocations: 346.8 kB / 0.6974 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.2061, allocations: 232.7 kB / 0.6977 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.2064, allocations: 352.4 kB / 0.698 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2064, allocations: 34.56 kB / 0.698 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/0.2064, allocations: 0 / 0.698 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.00204/0.2085, allocations: 0.8081 MB / 0.6988 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2085, allocations: 55.41 kB / 0.6989 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/0.2092, allocations: 0.5862 MB / 0.6994 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.2093, allocations: 37.7 kB / 0.6995 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.2095, allocations: 328.4 kB / 0.6998 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2096, allocations: 130.1 kB / 0.6999 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.2098, allocations: 126.2 kB / 0.7 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.21, allocations: 374.7 kB / 0.7004 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.2105, allocations: 223.4 kB / 0.7006 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.2111, allocations: 372 kB / 0.701 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.2122, allocations: 0.5704 MB / 0.7015 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2122, allocations: 0 / 0.7015 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001469/0.2136, allocations: 0.7182 MB / 0.7022 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2137, allocations: 10.19 kB / 0.7022 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2137, allocations: 4 kB / 0.7022 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.2143, allocations: 133.3 kB / 0.7024 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.2149, allocations: 139.8 kB / 0.7025 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005796/0.2154, allocations: 0.6187 MB / 0.7031 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.216, allocations: 83.31 kB / 0.7032 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.2161, allocations: 31.98 kB / 0.7032 GB, free: 220 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006564/0.2167, allocations: 354 kB / 0.7036 GB, free: 15.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005705/0.2173, allocations: 364.1 kB / 0.7039 GB, free: 15.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00102/0.2183, allocations: 0.5588 MB / 0.7044 GB, free: 14.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.2183, allocations: 0 / 0.7044 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001256/0.2196, allocations: 0.6789 MB / 0.7051 GB, free: 14.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2196, allocations: 11.94 kB / 0.7051 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2196, allocations: 4 kB / 0.7051 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.2196, allocations: 8 kB / 0.7051 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.2202, allocations: 159.7 kB / 0.7053 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.2203, allocations: 11.94 kB / 0.7053 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.2207, allocations: 79.67 kB / 0.7054 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.2208, allocations: 31.98 kB / 0.7054 GB, free: 13.84 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.0001733/0.221, allocations: 208.1 kB / 0.7056 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/0.2211, allocations: 63.25 kB / 0.7057 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.2225, allocations: 0.6461 MB / 0.7063 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.2226, allocations: 4 kB / 0.7063 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2226, allocations: 4 kB / 0.7063 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2226, allocations: 7.984 kB / 0.7063 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.225, allocations: 1.349 MB / 0.7076 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.225, allocations: 0 / 0.7076 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.2254, allocations: 87.88 kB / 0.7077 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.2257, allocations: 104.9 kB / 0.7078 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.2258, allocations: 23.98 kB / 0.7078 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005689/0.2264, allocations: 0.6225 MB / 0.7084 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2264, allocations: 8.047 kB / 0.7084 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.2276, allocations: 0.698 MB / 0.7091 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.2279, allocations: 188.1 kB / 0.7093 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.2279, allocations: 19.98 kB / 0.7093 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.2283, allocations: 31.97 kB / 0.7094 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.2284, allocations: 31.95 kB / 0.7094 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.2285, allocations: 16 kB / 0.7094 GB, free: 9.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005148/0.229, allocations: 407 kB / 0.7098 GB, free: 9.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.229, allocations: 0 / 0.7098 GB, free: 9.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001109/0.2301, allocations: 387.3 kB / 0.7102 GB, free: 8.809 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.0005903/0.2307, allocations: 302.4 kB / 0.7104 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.2326, allocations: 0.8742 MB / 0.7113 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2326, allocations: 0 / 0.7113 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.2333, allocations: 271.7 kB / 0.7116 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2343, allocations: 243 kB / 0.7118 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.2361, allocations: 1.068 MB / 0.7128 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.2366, allocations: 0.9155 MB / 0.7137 GB, free: 5.105 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004739/0.237, allocations: 150.1 kB / 0.7139 GB, free: 4.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.2372, allocations: 59.42 kB / 0.7139 GB, free: 4.906 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.2372, allocations: 0 / 0.7139 GB, free: 4.906 MB / 0.545 GB Notification: Performance of Templates: time 0.02172/0.2589, allocations: 12.71 MB / 0.7263 GB, free: 8.387 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)