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.001611/0.001611, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00187/0.00187, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.335/1.335, 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.767/0.767, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.56 kB / 0.582 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1562, allocations: 80.21 MB / 0.6603 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02321/0.1795, allocations: 19.44 MB / 0.6793 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008007/0.1875, allocations: 5.143 MB / 0.6843 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000972/0.1885, allocations: 23.88 kB / 0.6844 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.1895, allocations: 270 kB / 0.6846 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.1919, allocations: 0.7731 MB / 0.6854 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.1943, allocations: 0.8727 MB / 0.6862 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002274/0.1966, allocations: 1.568 MB / 0.6878 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009152/0.1975, allocations: 0.4977 MB / 0.6882 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.1989, allocations: 0.6421 MB / 0.6889 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.1998, allocations: 0.5329 MB / 0.6894 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.2, allocations: 56 kB / 0.6894 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.2015, allocations: 0.7018 MB / 0.6901 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.2018, allocations: 159.4 kB / 0.6903 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.2024, allocations: 378 kB / 0.6906 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.2041, allocations: 1.102 MB / 0.6917 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2041, allocations: 3.984 kB / 0.6917 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2041, allocations: 4 kB / 0.6917 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.794e-05/0.2042, allocations: 4 kB / 0.6917 GB, free: 10.14 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.002302/0.2065, allocations: 1.09 MB / 0.6928 GB, free: 9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2065, allocations: 12.03 kB / 0.6928 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.2067, allocations: 83.91 kB / 0.6929 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009193/0.2077, allocations: 0.518 MB / 0.6934 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.2077, allocations: 37 kB / 0.6934 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.2078, allocations: 51.94 kB / 0.6935 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.209, allocations: 0.6278 MB / 0.6941 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.209, allocations: 7.938 kB / 0.6941 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.2091, allocations: 20 kB / 0.6941 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2091, allocations: 12 kB / 0.6941 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.2102, allocations: 495.4 kB / 0.6946 GB, free: 7.043 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.003689/0.2139, allocations: 3.197 MB / 0.6977 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.2146, allocations: 346.8 kB / 0.6981 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.2151, allocations: 232.7 kB / 0.6983 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/0.2155, allocations: 340.4 kB / 0.6986 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2155, allocations: 38.66 kB / 0.6986 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.295e-06/0.2155, allocations: 3.938 kB / 0.6986 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.002243/0.2178, allocations: 0.8081 MB / 0.6994 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.2178, allocations: 55.41 kB / 0.6995 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/0.2186, allocations: 0.5784 MB / 0.7001 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.2186, allocations: 41.69 kB / 0.7001 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.2189, allocations: 324.4 kB / 0.7004 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.219, allocations: 134.1 kB / 0.7005 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2192, allocations: 122.2 kB / 0.7006 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2194, allocations: 382.7 kB / 0.701 GB, free: 120 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.2199, allocations: 223.3 kB / 0.7012 GB, free: 15.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.2205, allocations: 372 kB / 0.7016 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2216, allocations: 0.5665 MB / 0.7021 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.2217, allocations: 0 / 0.7021 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001607/0.2233, allocations: 0.7226 MB / 0.7028 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2233, allocations: 12.09 kB / 0.7028 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.2233, allocations: 4 kB / 0.7029 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.224, allocations: 140.8 kB / 0.703 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.2245, allocations: 139.8 kB / 0.7031 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006124/0.2252, allocations: 0.6148 MB / 0.7037 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.2258, allocations: 83.23 kB / 0.7038 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.2258, allocations: 31.98 kB / 0.7038 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006936/0.2265, allocations: 354.2 kB / 0.7042 GB, free: 12.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006182/0.2272, allocations: 368 kB / 0.7045 GB, free: 12.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001083/0.2283, allocations: 0.5549 MB / 0.7051 GB, free: 11.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.2283, allocations: 3.938 kB / 0.7051 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00145/0.2297, allocations: 0.6745 MB / 0.7057 GB, free: 10.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2298, allocations: 8 kB / 0.7057 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2298, allocations: 7.938 kB / 0.7057 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2298, allocations: 8 kB / 0.7057 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.2304, allocations: 160.3 kB / 0.7059 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.2304, allocations: 15.94 kB / 0.7059 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.231, allocations: 63.5 kB / 0.706 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.2311, allocations: 31.98 kB / 0.706 GB, free: 10.7 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.0001889/0.2313, allocations: 208.1 kB / 0.7062 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.2314, allocations: 67.25 kB / 0.7063 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.2329, allocations: 0.6489 MB / 0.7069 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.233, allocations: 7.984 kB / 0.7069 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.233, allocations: 0 / 0.7069 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.233, allocations: 4 kB / 0.7069 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.2355, allocations: 1.357 MB / 0.7082 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2356, allocations: 0 / 0.7082 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.2359, allocations: 87.88 kB / 0.7083 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.2363, allocations: 108.9 kB / 0.7084 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.2364, allocations: 12 kB / 0.7084 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000699/0.2371, allocations: 0.6303 MB / 0.7091 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2371, allocations: 0 / 0.7091 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.2385, allocations: 0.7019 MB / 0.7097 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.2388, allocations: 192.1 kB / 0.7099 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.2389, allocations: 12 kB / 0.7099 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.2393, allocations: 35.95 kB / 0.71 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.2394, allocations: 31.95 kB / 0.71 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.2394, allocations: 20 kB / 0.71 GB, free: 6.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004916/0.2399, allocations: 403.1 kB / 0.7104 GB, free: 6.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.24, allocations: 0 / 0.7104 GB, free: 6.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001172/0.2411, allocations: 391.3 kB / 0.7108 GB, free: 5.66 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.0007984/0.2419, allocations: 311.1 kB / 0.7111 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.2441, allocations: 0.8657 MB / 0.7119 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2441, allocations: 1.125 kB / 0.7119 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.2448, allocations: 284.2 kB / 0.7122 GB, free: 4.219 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.246, allocations: 231.2 kB / 0.7124 GB, free: 4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.2481, allocations: 1.101 MB / 0.7135 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.2486, allocations: 0.9038 MB / 0.7144 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.2489, allocations: 71.41 kB / 0.7144 GB, free: 1.855 MB / 0.545 GB Notification: Performance of SimCode: time 3.316e-06/0.2489, allocations: 0 / 0.7144 GB, free: 1.855 MB / 0.545 GB Notification: Performance of Templates: time 0.01949/0.2684, allocations: 12.92 MB / 0.7271 GB, free: 5.039 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)