Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 113.1 kB / 16.41 MB, free: 6.484 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.001607/0.001607, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7646/0.7646, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.11 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1605, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03138/0.1919, allocations: 29.83 MB / 0.6895 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.2042, allocations: 8.14 MB / 0.6974 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.2059, allocations: 31.81 kB / 0.6975 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.2074, allocations: 428.9 kB / 0.6979 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.2116, allocations: 1.375 MB / 0.6992 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.2147, allocations: 1.145 MB / 0.7003 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004322/0.219, allocations: 3.54 MB / 0.7038 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.2212, allocations: 1.322 MB / 0.7051 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.2244, allocations: 1.706 MB / 0.7067 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.2278, allocations: 1.628 MB / 0.7083 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007072/0.2285, allocations: 124 kB / 0.7084 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.2311, allocations: 1.014 MB / 0.7094 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006963/0.2318, allocations: 402.7 kB / 0.7098 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.2332, allocations: 0.7505 MB / 0.7106 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.2366, allocations: 2.205 MB / 0.7127 GB, free: 4.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2367, allocations: 0 / 0.7127 GB, free: 4.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.138e-06/0.2367, allocations: 0 / 0.7127 GB, free: 4.457 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.649e-05/0.2368, allocations: 3.938 kB / 0.7127 GB, free: 4.453 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003646/0.2404, allocations: 1.671 MB / 0.7143 GB, free: 2.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2405, allocations: 8.031 kB / 0.7143 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005137/0.241, allocations: 158.6 kB / 0.7145 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.2429, allocations: 0.9181 MB / 0.7154 GB, free: 1.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.243, allocations: 81.31 kB / 0.7155 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.2432, allocations: 116 kB / 0.7156 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.2444, allocations: 0.6395 MB / 0.7162 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2445, allocations: 0 / 0.7162 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.2445, allocations: 27.94 kB / 0.7162 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.2446, allocations: 12 kB / 0.7162 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009625/0.2455, allocations: 468.8 kB / 0.7167 GB, free: 240 kB / 0.545 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.005089/0.2506, allocations: 2.867 MB / 0.7195 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.2513, allocations: 315.2 kB / 0.7198 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.2516, allocations: 149.3 kB / 0.7199 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.2519, allocations: 344.7 kB / 0.7203 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.252, allocations: 34.84 kB / 0.7203 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.252, allocations: 0 / 0.7203 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00138/0.2534, allocations: 0.5291 MB / 0.7208 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.2534, allocations: 55.41 kB / 0.7209 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.2546, allocations: 0.9075 MB / 0.7218 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.2548, allocations: 57.7 kB / 0.7218 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.2552, allocations: 490.6 kB / 0.7223 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.2553, allocations: 106.3 kB / 0.7224 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.2558, allocations: 294.9 kB / 0.7227 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2559, allocations: 338.1 kB / 0.723 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.2564, allocations: 189.4 kB / 0.7232 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.2578, allocations: 1.155 MB / 0.7243 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/0.2586, allocations: 459.4 kB / 0.7247 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2586, allocations: 0 / 0.7247 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001379/0.26, allocations: 0.6501 MB / 0.7254 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2601, allocations: 4.188 kB / 0.7254 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2601, allocations: 8 kB / 0.7254 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2601, allocations: 4 kB / 0.7254 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.2615, allocations: 235.7 kB / 0.7256 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.2633, allocations: 2.957 MB / 0.7285 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/0.2666, allocations: 0.6988 MB / 0.7292 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.2667, allocations: 31.98 kB / 0.7292 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007719/0.2675, allocations: 373.2 kB / 0.7296 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001368/0.2689, allocations: 1.158 MB / 0.7307 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008037/0.2697, allocations: 456.7 kB / 0.7311 GB, free: 204 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/0.2697, allocations: 0 / 0.7311 GB, free: 204 kB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001548/0.2712, allocations: 0.651 MB / 0.7318 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2713, allocations: 4 kB / 0.7318 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2713, allocations: 4 kB / 0.7318 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2713, allocations: 4 kB / 0.7318 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.272, allocations: 164.1 kB / 0.7319 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.272, allocations: 11.94 kB / 0.7319 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/0.2766, allocations: 0.9535 MB / 0.7329 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.2767, allocations: 31.92 kB / 0.7329 GB, free: 14.37 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.277, allocations: 245 kB / 0.7331 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.2772, allocations: 102.7 kB / 0.7332 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.2784, allocations: 0.5049 MB / 0.7337 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.2785, allocations: 4 kB / 0.7337 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.2785, allocations: 11.97 kB / 0.7337 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2785, allocations: 0 / 0.7337 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.2806, allocations: 1.26 MB / 0.735 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.2807, allocations: 0 / 0.735 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.2812, allocations: 107.9 kB / 0.7351 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.2812, allocations: 12.11 kB / 0.7351 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.2813, allocations: 19.88 kB / 0.7351 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.2828, allocations: 2.938 MB / 0.738 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2828, allocations: 0 / 0.738 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/0.2837, allocations: 0.5637 MB / 0.7385 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.2841, allocations: 219.7 kB / 0.7387 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.2842, allocations: 8 kB / 0.7387 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.2847, allocations: 31.91 kB / 0.7388 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.2848, allocations: 27.97 kB / 0.7388 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.2848, allocations: 15.98 kB / 0.7388 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007798/0.2856, allocations: 0.6084 MB / 0.7394 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2856, allocations: 0 / 0.7394 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001569/0.2872, allocations: 0.5306 MB / 0.7399 GB, free: 6.914 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008008/0.288, allocations: 341.9 kB / 0.7403 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.2907, allocations: 0.8431 MB / 0.7411 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2907, allocations: 0 / 0.7411 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.2913, allocations: 225.8 kB / 0.7413 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.2932, allocations: 401.8 kB / 0.7417 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.2959, allocations: 1.574 MB / 0.7432 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.2966, allocations: 1.025 MB / 0.7442 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.2969, allocations: 87.41 kB / 0.7443 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.2969, allocations: 0 / 0.7443 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of Templates: time 0.3831/0.68, allocations: 36.16 MB / 0.7796 GB, free: 67.16 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)