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.008995/0.008995, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001672/0.001672, allocations: 197 kB / 16.67 MB, free: 5.52 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.38/1.38, allocations: 222.9 MB / 240.4 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.7959/0.7959, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.31 kB / 0.5856 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1667, allocations: 80.92 MB / 0.6646 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02222/0.189, allocations: 19.43 MB / 0.6836 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008111/0.1971, allocations: 5.166 MB / 0.6887 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1985, allocations: 19.88 kB / 0.6887 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.1997, allocations: 274 kB / 0.6889 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.2027, allocations: 0.8038 MB / 0.6897 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.2054, allocations: 0.8787 MB / 0.6906 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.2077, allocations: 1.548 MB / 0.6921 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.2088, allocations: 0.521 MB / 0.6926 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.2104, allocations: 0.6382 MB / 0.6932 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.2117, allocations: 0.529 MB / 0.6937 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.2119, allocations: 56 kB / 0.6938 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.2137, allocations: 0.7018 MB / 0.6945 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.214, allocations: 163.4 kB / 0.6946 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005747/0.2146, allocations: 382 kB / 0.695 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.2168, allocations: 1.098 MB / 0.6961 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2168, allocations: 0 / 0.6961 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2168, allocations: 0 / 0.6961 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.714e-05/0.2169, allocations: 0 / 0.6961 GB, free: 5.461 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.003265/0.2202, allocations: 1.102 MB / 0.6972 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.2202, allocations: 13.11 kB / 0.6972 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.2206, allocations: 83.91 kB / 0.6972 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.2219, allocations: 0.5258 MB / 0.6978 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.222, allocations: 37 kB / 0.6978 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.2221, allocations: 48 kB / 0.6978 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.2234, allocations: 0.6216 MB / 0.6984 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.2234, allocations: 7.938 kB / 0.6985 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.2235, allocations: 20 kB / 0.6985 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.2235, allocations: 12 kB / 0.6985 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2246, allocations: 487.4 kB / 0.6989 GB, free: 2.363 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.004271/0.2289, allocations: 3.2 MB / 0.7021 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.2297, allocations: 338.8 kB / 0.7024 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.2302, allocations: 239.5 kB / 0.7026 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/0.2307, allocations: 356.1 kB / 0.703 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.2307, allocations: 34.56 kB / 0.703 GB, free: 13.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.535e-06/0.2307, allocations: 0 / 0.703 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.002364/0.2331, allocations: 0.8005 MB / 0.7038 GB, free: 13.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2332, allocations: 59.16 kB / 0.7038 GB, free: 13.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.234, allocations: 0.594 MB / 0.7044 GB, free: 12.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.234, allocations: 29.7 kB / 0.7044 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.2343, allocations: 332.4 kB / 0.7048 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.2344, allocations: 126.1 kB / 0.7049 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.2346, allocations: 130.2 kB / 0.705 GB, free: 11.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2348, allocations: 374.7 kB / 0.7054 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.2353, allocations: 227.4 kB / 0.7056 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/0.2359, allocations: 368 kB / 0.7059 GB, free: 10.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.2371, allocations: 0.5704 MB / 0.7065 GB, free: 10.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2372, allocations: 0 / 0.7065 GB, free: 10.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00154/0.2387, allocations: 0.7182 MB / 0.7072 GB, free: 9.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2387, allocations: 8 kB / 0.7072 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2387, allocations: 4 kB / 0.7072 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.2394, allocations: 141.3 kB / 0.7073 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.2399, allocations: 139.8 kB / 0.7075 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006109/0.2405, allocations: 0.6187 MB / 0.7081 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.2411, allocations: 83.39 kB / 0.7082 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.2412, allocations: 35.98 kB / 0.7082 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006433/0.2419, allocations: 345.3 kB / 0.7085 GB, free: 8.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005971/0.2425, allocations: 364 kB / 0.7089 GB, free: 7.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001048/0.2435, allocations: 0.5588 MB / 0.7094 GB, free: 6.984 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/0.2435, allocations: 4 kB / 0.7094 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001358/0.2449, allocations: 0.6827 MB / 0.7101 GB, free: 6.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2449, allocations: 9.875 kB / 0.7101 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2449, allocations: 4 kB / 0.7101 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.2449, allocations: 8 kB / 0.7101 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.2456, allocations: 155.7 kB / 0.7102 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.2456, allocations: 15.92 kB / 0.7103 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.2461, allocations: 67.64 kB / 0.7103 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.2462, allocations: 35.98 kB / 0.7104 GB, free: 6.004 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.0001791/0.2464, allocations: 208.1 kB / 0.7106 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2465, allocations: 63.16 kB / 0.7106 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.248, allocations: 0.647 MB / 0.7113 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.248, allocations: 7.938 kB / 0.7113 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2481, allocations: 4 kB / 0.7113 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2481, allocations: 3.984 kB / 0.7113 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.2505, allocations: 1.356 MB / 0.7126 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2506, allocations: 0 / 0.7126 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.2509, allocations: 83.88 kB / 0.7127 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000362/0.2513, allocations: 108.9 kB / 0.7128 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.2514, allocations: 24.08 kB / 0.7128 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006246/0.252, allocations: 0.6264 MB / 0.7134 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.252, allocations: 0 / 0.7134 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.2533, allocations: 0.698 MB / 0.7141 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.2536, allocations: 196.1 kB / 0.7143 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.2537, allocations: 12 kB / 0.7143 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.2541, allocations: 35.97 kB / 0.7143 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.2542, allocations: 27.95 kB / 0.7144 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.2543, allocations: 19.98 kB / 0.7144 GB, free: 1.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004612/0.2547, allocations: 403.1 kB / 0.7148 GB, free: 1.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2547, allocations: 0 / 0.7148 GB, free: 1.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001064/0.2558, allocations: 387.3 kB / 0.7151 GB, free: 0.9648 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.0006845/0.2565, allocations: 313.1 kB / 0.7154 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.2586, allocations: 0.8666 MB / 0.7163 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2586, allocations: 0 / 0.7163 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.2593, allocations: 284 kB / 0.7165 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.2604, allocations: 235.2 kB / 0.7168 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.2623, allocations: 1.068 MB / 0.7178 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.2627, allocations: 0.9077 MB / 0.7187 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005025/0.2632, allocations: 162.2 kB / 0.7188 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.2634, allocations: 63.41 kB / 0.7189 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of SimCode: time 1.703e-06/0.2634, allocations: 0 / 0.7189 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.0228/0.2862, allocations: 12.7 MB / 0.7313 GB, free: 492 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)