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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8081/0.8081, allocations: 130.7 MB / 138.7 MB, free: 3.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.0009682, allocations: 100.6 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.772e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.537, allocations: 81.58 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9327/1.47, allocations: 356 MB / 0.9759 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.47, allocations: 92.12 kB / 0.9759 GB, free: 3.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8846/2.355, allocations: 238.9 MB / 1.209 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.542e-06/2.355, allocations: 0 / 1.209 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.666e-05/2.355, allocations: 23.98 kB / 1.209 GB, free: 104.3 MB / 0.6667 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.001526/2.356, allocations: 0.9697 MB / 1.21 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/2.356, allocations: 12.03 kB / 1.21 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/2.356, allocations: 90.92 kB / 1.21 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/2.357, allocations: 0.5115 MB / 1.211 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/2.357, allocations: 16 kB / 1.211 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/2.357, allocations: 28 kB / 1.211 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005205/2.358, allocations: 358.5 kB / 1.211 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/2.359, allocations: 0.5172 MB / 1.212 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/2.359, allocations: 4 kB / 1.212 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/2.359, allocations: 4 kB / 1.212 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/2.359, allocations: 12 kB / 1.212 GB, free: 101.6 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.002661/2.361, allocations: 3.107 MB / 1.215 GB, free: 98.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/2.362, allocations: 278.7 kB / 1.215 GB, free: 98.06 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/2.362, allocations: 180.8 kB / 1.215 GB, free: 97.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/2.362, allocations: 348.4 kB / 1.216 GB, free: 97.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/2.362, allocations: 38.56 kB / 1.216 GB, free: 97.42 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.743e-06/2.362, allocations: 0 / 1.216 GB, free: 97.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.00193/2.364, allocations: 0.6731 MB / 1.216 GB, free: 96.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/2.364, allocations: 59.41 kB / 1.216 GB, free: 96.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/2.365, allocations: 451.2 kB / 1.217 GB, free: 96.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/2.365, allocations: 29.69 kB / 1.217 GB, free: 96.18 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/2.365, allocations: 328.2 kB / 1.217 GB, free: 95.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/2.365, allocations: 122.2 kB / 1.217 GB, free: 95.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/2.365, allocations: 0 / 1.217 GB, free: 95.73 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.168e-05/2.365, allocations: 366.8 kB / 1.218 GB, free: 95.37 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/2.365, allocations: 149.1 kB / 1.218 GB, free: 95.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/2.365, allocations: 326.3 kB / 1.218 GB, free: 94.83 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/2.367, allocations: 432.4 kB / 1.218 GB, free: 94.41 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/2.367, allocations: 0 / 1.218 GB, free: 94.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001812/2.369, allocations: 0.7963 MB / 1.219 GB, free: 93.61 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000424/2.369, allocations: 1.75 MB / 1.221 GB, free: 91.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/2.369, allocations: 8 kB / 1.221 GB, free: 91.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/2.369, allocations: 96.83 kB / 1.221 GB, free: 91.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/2.37, allocations: 143.8 kB / 1.221 GB, free: 91.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007932/2.371, allocations: 0.7006 MB / 1.222 GB, free: 90.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/2.371, allocations: 87.44 kB / 1.222 GB, free: 90.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/2.372, allocations: 35.94 kB / 1.222 GB, free: 90.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/2.372, allocations: 4 kB / 1.222 GB, free: 90.62 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/2.373, allocations: 0.6735 MB / 1.223 GB, free: 89.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/2.373, allocations: 7.938 kB / 1.223 GB, free: 89.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/2.373, allocations: 8 kB / 1.223 GB, free: 89.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/2.374, allocations: 160.3 kB / 1.223 GB, free: 89.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/2.374, allocations: 11.98 kB / 1.223 GB, free: 89.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/2.374, allocations: 71.64 kB / 1.223 GB, free: 89.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/2.374, allocations: 43.92 kB / 1.223 GB, free: 89.65 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001361/2.375, allocations: 117.5 kB / 1.223 GB, free: 89.53 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/2.375, allocations: 67.11 kB / 1.223 GB, free: 89.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/2.377, allocations: 0.7565 MB / 1.224 GB, free: 88.69 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/2.377, allocations: 8 kB / 1.224 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.377, allocations: 0 / 1.224 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/2.377, allocations: 0 / 1.224 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/2.38, allocations: 1.428 MB / 1.225 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/2.38, allocations: 0 / 1.225 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/2.38, allocations: 95.97 kB / 1.225 GB, free: 87.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/2.38, allocations: 112.8 kB / 1.225 GB, free: 86.99 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/2.38, allocations: 11.98 kB / 1.225 GB, free: 86.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007687/2.381, allocations: 0.685 MB / 1.226 GB, free: 86.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.381, allocations: 4.031 kB / 1.226 GB, free: 86.27 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/2.383, allocations: 0.8734 MB / 1.227 GB, free: 85.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/2.383, allocations: 192.2 kB / 1.227 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/2.383, allocations: 8 kB / 1.227 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/2.384, allocations: 59.78 kB / 1.227 GB, free: 85.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/2.384, allocations: 31.91 kB / 1.227 GB, free: 85.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/2.384, allocations: 20 kB / 1.227 GB, free: 85.02 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003347/2.384, allocations: 335.2 kB / 1.228 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/2.384, allocations: 0 / 1.228 GB, free: 84.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00136/2.385, allocations: 391.3 kB / 1.228 GB, free: 84.31 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007206/2.386, allocations: 413.1 kB / 1.228 GB, free: 83.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001241/2.387, allocations: 0.7148 MB / 1.229 GB, free: 83.19 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/2.387, allocations: 0 / 1.229 GB, free: 83.19 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003906/2.388, allocations: 241 kB / 1.229 GB, free: 82.96 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/2.389, allocations: 234.3 kB / 1.229 GB, free: 82.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/2.39, allocations: 0.7086 MB / 1.23 GB, free: 81.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/2.391, allocations: 0.9284 MB / 1.231 GB, free: 81.03 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006352/2.391, allocations: 164.8 kB / 1.231 GB, free: 80.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/2.391, allocations: 51.41 kB / 1.231 GB, free: 80.82 MB / 0.6667 GB Notification: Performance of SimCode: time 9.02e-07/2.391, allocations: 4 kB / 1.231 GB, free: 80.82 MB / 0.6667 GB Notification: Performance of Templates: time 0.01846/2.41, allocations: 12.14 MB / 1.243 GB, free: 68.8 MB / 0.6667 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)