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.006071/0.006071, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001453/0.001453, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.714/0.714, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.2 kB / 0.5814 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1451, allocations: 80.21 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01933/0.1645, allocations: 19.44 MB / 0.6787 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007246/0.1718, allocations: 5.157 MB / 0.6837 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008592/0.1727, allocations: 19.88 kB / 0.6837 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008422/0.1736, allocations: 266 kB / 0.684 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.1756, allocations: 0.7761 MB / 0.6847 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.1776, allocations: 0.8718 MB / 0.6856 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.1793, allocations: 1.548 MB / 0.6871 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.1799, allocations: 0.5133 MB / 0.6876 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009097/0.1808, allocations: 0.6226 MB / 0.6882 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006076/0.1814, allocations: 0.5331 MB / 0.6887 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.1815, allocations: 59.94 kB / 0.6888 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1827, allocations: 0.7056 MB / 0.6895 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1829, allocations: 155.4 kB / 0.6896 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.1832, allocations: 381.9 kB / 0.69 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.1844, allocations: 1.097 MB / 0.6911 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1844, allocations: 0 / 0.6911 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1844, allocations: 0 / 0.6911 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1844, allocations: 0 / 0.6911 GB, free: 13.26 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.001709/0.1862, allocations: 1.136 MB / 0.6922 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1862, allocations: 12.03 kB / 0.6922 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1863, allocations: 88.38 kB / 0.6923 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.1871, allocations: 0.5263 MB / 0.6928 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.1871, allocations: 37 kB / 0.6928 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.1872, allocations: 48 kB / 0.6929 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009727/0.1882, allocations: 0.6215 MB / 0.6935 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1882, allocations: 4 kB / 0.6935 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.1883, allocations: 24 kB / 0.6935 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1883, allocations: 12 kB / 0.6935 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.1893, allocations: 495.4 kB / 0.694 GB, free: 10.11 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.003121/0.1924, allocations: 3.213 MB / 0.6971 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.1931, allocations: 346.2 kB / 0.6974 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.1936, allocations: 231.8 kB / 0.6977 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.1939, allocations: 352.4 kB / 0.698 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1939, allocations: 38.55 kB / 0.698 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 1.533e-06/0.1939, allocations: 0 / 0.698 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.002004/0.1959, allocations: 0.8046 MB / 0.6988 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.196, allocations: 55.41 kB / 0.6989 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.1966, allocations: 0.5901 MB / 0.6995 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.1966, allocations: 33.7 kB / 0.6995 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.1969, allocations: 329 kB / 0.6998 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.197, allocations: 146.8 kB / 0.6999 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.1972, allocations: 126.3 kB / 0.7001 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1973, allocations: 374.7 kB / 0.7004 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.1978, allocations: 227.3 kB / 0.7006 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.1984, allocations: 371.9 kB / 0.701 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.1994, allocations: 0.5704 MB / 0.7015 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1995, allocations: 0 / 0.7015 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001362/0.2008, allocations: 0.7187 MB / 0.7022 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2009, allocations: 8 kB / 0.7023 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2009, allocations: 4 kB / 0.7023 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/0.2014, allocations: 145.3 kB / 0.7024 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.2019, allocations: 131.8 kB / 0.7025 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005214/0.2025, allocations: 0.6187 MB / 0.7031 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.203, allocations: 87.53 kB / 0.7032 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.203, allocations: 35.98 kB / 0.7032 GB, free: 104 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005996/0.2036, allocations: 346 kB / 0.7036 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005591/0.2042, allocations: 368 kB / 0.7039 GB, free: 15.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000955/0.2052, allocations: 0.551 MB / 0.7045 GB, free: 14.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.2052, allocations: 4 kB / 0.7045 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00126/0.2064, allocations: 0.6831 MB / 0.7051 GB, free: 14.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2065, allocations: 11.94 kB / 0.7051 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2065, allocations: 4 kB / 0.7051 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-06/0.2065, allocations: 8 kB / 0.7052 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.2071, allocations: 155.8 kB / 0.7053 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2071, allocations: 15.98 kB / 0.7053 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.2075, allocations: 67.8 kB / 0.7054 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.2076, allocations: 31.98 kB / 0.7054 GB, free: 13.74 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.0001553/0.2077, allocations: 216 kB / 0.7056 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.2078, allocations: 67.53 kB / 0.7057 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.2092, allocations: 0.6416 MB / 0.7063 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2092, allocations: 4 kB / 0.7063 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2092, allocations: 4 kB / 0.7063 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2093, allocations: 3.984 kB / 0.7063 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.2115, allocations: 1.361 MB / 0.7077 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2115, allocations: 3.984 kB / 0.7077 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.2118, allocations: 83.89 kB / 0.7077 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.2122, allocations: 104.8 kB / 0.7078 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.2122, allocations: 24.08 kB / 0.7079 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005752/0.2128, allocations: 0.6264 MB / 0.7085 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2128, allocations: 0 / 0.7085 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.214, allocations: 0.7062 MB / 0.7092 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.2142, allocations: 192.5 kB / 0.7093 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.2143, allocations: 16 kB / 0.7094 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.2147, allocations: 31.97 kB / 0.7094 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.2147, allocations: 35.95 kB / 0.7094 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.2148, allocations: 15.98 kB / 0.7094 GB, free: 9.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003968/0.2152, allocations: 403.1 kB / 0.7098 GB, free: 9.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2152, allocations: 0 / 0.7098 GB, free: 9.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008988/0.2161, allocations: 399 kB / 0.7102 GB, free: 8.68 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.0005598/0.2167, allocations: 305.5 kB / 0.7105 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.2185, allocations: 0.8704 MB / 0.7113 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2185, allocations: 0 / 0.7113 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006462/0.2191, allocations: 279.7 kB / 0.7116 GB, free: 7.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2202, allocations: 231.4 kB / 0.7118 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2217, allocations: 1.084 MB / 0.7129 GB, free: 5.906 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2222, allocations: 0.9194 MB / 0.7138 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004674/0.2227, allocations: 147.5 kB / 0.7139 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2229, allocations: 59.41 kB / 0.714 GB, free: 4.762 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2229, allocations: 4 kB / 0.714 GB, free: 4.758 MB / 0.545 GB Notification: Performance of Templates: time 0.01981/0.2427, allocations: 12.71 MB / 0.7264 GB, free: 8.242 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)