Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001363/0.001363, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001363/0.001363, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.403/1.403, 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-master/package.mo): time 0.8425/0.8425, allocations: 135.2 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.23 kB / 0.5863 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1514, allocations: 80.92 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02274/0.1741, allocations: 19.48 MB / 0.6844 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008348/0.1825, allocations: 5.154 MB / 0.6894 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.1835, allocations: 15.88 kB / 0.6894 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.1843, allocations: 278 kB / 0.6897 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.1867, allocations: 0.8038 MB / 0.6905 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.189, allocations: 0.8783 MB / 0.6913 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.1914, allocations: 1.559 MB / 0.6929 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007796/0.1922, allocations: 453.7 kB / 0.6933 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.1935, allocations: 0.6343 MB / 0.6939 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008318/0.1943, allocations: 0.5367 MB / 0.6944 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1944, allocations: 56 kB / 0.6945 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.1958, allocations: 0.7018 MB / 0.6952 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.196, allocations: 167.3 kB / 0.6953 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.1965, allocations: 389.9 kB / 0.6957 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.1983, allocations: 1.093 MB / 0.6968 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1983, allocations: 0 / 0.6968 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1983, allocations: 0 / 0.6968 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.1983, allocations: 0 / 0.6968 GB, free: 5.453 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.002082/0.2004, allocations: 1.132 MB / 0.6979 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2005, allocations: 9.109 kB / 0.6979 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.2006, allocations: 88.38 kB / 0.698 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.2015, allocations: 0.5341 MB / 0.6985 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.2015, allocations: 37 kB / 0.6985 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2016, allocations: 59.94 kB / 0.6986 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.2028, allocations: 0.6138 MB / 0.6992 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2028, allocations: 0 / 0.6992 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.2028, allocations: 28 kB / 0.6992 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2028, allocations: 16 kB / 0.6992 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.204, allocations: 491.4 kB / 0.6997 GB, free: 2.305 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.0039/0.2079, allocations: 3.205 MB / 0.7028 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.2086, allocations: 318.8 kB / 0.7031 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.2091, allocations: 204.7 kB / 0.7033 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.2095, allocations: 348.1 kB / 0.7037 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.2095, allocations: 42.56 kB / 0.7037 GB, free: 13.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.305e-06/0.2095, allocations: 0 / 0.7037 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.002372/0.2119, allocations: 0.8057 MB / 0.7045 GB, free: 13.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.212, allocations: 59.16 kB / 0.7045 GB, free: 13.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007889/0.2127, allocations: 0.5862 MB / 0.7051 GB, free: 12.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.2128, allocations: 37.7 kB / 0.7052 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.2131, allocations: 337 kB / 0.7055 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2132, allocations: 138.8 kB / 0.7056 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.2134, allocations: 126.3 kB / 0.7057 GB, free: 11.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2136, allocations: 378.7 kB / 0.7061 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.2142, allocations: 219.4 kB / 0.7063 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.2148, allocations: 372 kB / 0.7067 GB, free: 10.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.216, allocations: 0.5743 MB / 0.7072 GB, free: 10.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.216, allocations: 0 / 0.7072 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001707/0.2178, allocations: 0.7187 MB / 0.7079 GB, free: 9.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2178, allocations: 8 kB / 0.7079 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2178, allocations: 4 kB / 0.7079 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.2184, allocations: 137.3 kB / 0.7081 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.219, allocations: 135.8 kB / 0.7082 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006778/0.2197, allocations: 0.6225 MB / 0.7088 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.2203, allocations: 83.55 kB / 0.7089 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.2204, allocations: 35.98 kB / 0.7089 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007254/0.2211, allocations: 349.3 kB / 0.7092 GB, free: 7.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000672/0.2218, allocations: 364 kB / 0.7096 GB, free: 7.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/0.2229, allocations: 0.5549 MB / 0.7101 GB, free: 6.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.2229, allocations: 4 kB / 0.7101 GB, free: 6.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001552/0.2244, allocations: 0.6792 MB / 0.7108 GB, free: 6.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2245, allocations: 8 kB / 0.7108 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2245, allocations: 15.97 kB / 0.7108 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2245, allocations: 8 kB / 0.7108 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/0.2251, allocations: 159.7 kB / 0.711 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.2251, allocations: 8 kB / 0.711 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.2257, allocations: 67.69 kB / 0.7111 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.2258, allocations: 28.14 kB / 0.7111 GB, free: 5.984 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.0002539/0.226, allocations: 227 kB / 0.7113 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2261, allocations: 67.56 kB / 0.7114 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.2278, allocations: 0.6432 MB / 0.712 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2278, allocations: 4 kB / 0.712 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2278, allocations: 0 / 0.712 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2278, allocations: 0 / 0.712 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.2305, allocations: 1.364 MB / 0.7133 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2305, allocations: 4 kB / 0.7133 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.2309, allocations: 83.88 kB / 0.7134 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.2313, allocations: 100.8 kB / 0.7135 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.2313, allocations: 16 kB / 0.7135 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007444/0.2321, allocations: 0.6343 MB / 0.7141 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2321, allocations: 4.031 kB / 0.7141 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.2336, allocations: 0.6984 MB / 0.7148 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.2339, allocations: 196.5 kB / 0.715 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.234, allocations: 12 kB / 0.715 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.2344, allocations: 39.95 kB / 0.7151 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.2345, allocations: 31.95 kB / 0.7151 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.2345, allocations: 16 kB / 0.7151 GB, free: 1.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000526/0.235, allocations: 403.1 kB / 0.7155 GB, free: 1.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.235, allocations: 0 / 0.7155 GB, free: 1.309 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001159/0.2362, allocations: 399 kB / 0.7159 GB, free: 0.918 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.0007286/0.2369, allocations: 301.9 kB / 0.7162 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.2391, allocations: 0.8161 MB / 0.717 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2391, allocations: 0 / 0.717 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.2398, allocations: 260 kB / 0.7172 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.2411, allocations: 237.2 kB / 0.7174 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.2432, allocations: 1.119 MB / 0.7185 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.2438, allocations: 0.9077 MB / 0.7194 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.244, allocations: 63.42 kB / 0.7195 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.244, allocations: 0 / 0.7195 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.02018/0.2642, allocations: 13.01 MB / 0.7322 GB, free: 244 kB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)