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.006419/0.006419, allocations: 99.94 kB / 15.73 MB, free: 6.008 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.00125/0.00125, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8521/0.8521, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.34 kB / 0.5814 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1776, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03442/0.212, allocations: 29.83 MB / 0.6888 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.2265, allocations: 8.144 MB / 0.6968 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.2284, allocations: 27.81 kB / 0.6968 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.23, allocations: 440.9 kB / 0.6972 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005879/0.2359, allocations: 1.43 MB / 0.6986 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.24, allocations: 1.154 MB / 0.6997 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004923/0.2449, allocations: 3.544 MB / 0.7032 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.2475, allocations: 1.333 MB / 0.7045 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.251, allocations: 1.699 MB / 0.7062 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.2543, allocations: 1.62 MB / 0.7077 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008587/0.2552, allocations: 124 kB / 0.7079 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.2586, allocations: 1.018 MB / 0.7088 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.2597, allocations: 402.7 kB / 0.7092 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.2623, allocations: 0.7505 MB / 0.71 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.2667, allocations: 2.205 MB / 0.7121 GB, free: 4.355 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2667, allocations: 0 / 0.7121 GB, free: 4.355 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.015e-06/0.2667, allocations: 0 / 0.7121 GB, free: 4.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.138e-05/0.2668, allocations: 7.938 kB / 0.7121 GB, free: 4.348 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.003848/0.2706, allocations: 1.671 MB / 0.7138 GB, free: 2.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.2707, allocations: 8.031 kB / 0.7138 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.2713, allocations: 154.6 kB / 0.7139 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.2734, allocations: 0.9181 MB / 0.7148 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/0.2735, allocations: 81.31 kB / 0.7149 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.2737, allocations: 120 kB / 0.715 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2749, allocations: 0.6395 MB / 0.7156 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2749, allocations: 0 / 0.7156 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.275, allocations: 27.94 kB / 0.7157 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.275, allocations: 16 kB / 0.7157 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008698/0.2759, allocations: 464.8 kB / 0.7161 GB, free: 132 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.004483/0.2804, allocations: 2.871 MB / 0.7189 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.281, allocations: 310.6 kB / 0.7192 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.2813, allocations: 149.3 kB / 0.7194 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.2817, allocations: 344.6 kB / 0.7197 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2817, allocations: 34.84 kB / 0.7197 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.2818, allocations: 3.938 kB / 0.7197 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001366/0.2831, allocations: 0.5252 MB / 0.7202 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.2832, allocations: 55.41 kB / 0.7203 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.2843, allocations: 0.9114 MB / 0.7212 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.2845, allocations: 57.7 kB / 0.7212 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.285, allocations: 482.6 kB / 0.7217 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.2851, allocations: 114.4 kB / 0.7218 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004058/0.2855, allocations: 294.9 kB / 0.7221 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2856, allocations: 338.1 kB / 0.7224 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.286, allocations: 189.4 kB / 0.7226 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.2874, allocations: 1.155 MB / 0.7237 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.2882, allocations: 455.4 kB / 0.7241 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2882, allocations: 0 / 0.7241 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001322/0.2895, allocations: 0.6579 MB / 0.7248 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2896, allocations: 4 kB / 0.7248 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2896, allocations: 4 kB / 0.7248 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2896, allocations: 4 kB / 0.7248 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.291, allocations: 231.8 kB / 0.725 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.2927, allocations: 2.961 MB / 0.7279 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.296, allocations: 0.7027 MB / 0.7286 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.2961, allocations: 24 kB / 0.7286 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006985/0.2968, allocations: 373.2 kB / 0.729 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001317/0.2981, allocations: 1.158 MB / 0.7301 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007646/0.2989, allocations: 456.8 kB / 0.7305 GB, free: 100 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.2989, allocations: 3.938 kB / 0.7305 GB, free: 96 kB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001409/0.3003, allocations: 0.6511 MB / 0.7312 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3003, allocations: 4 kB / 0.7312 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3003, allocations: 8.312 kB / 0.7312 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.3003, allocations: 4 kB / 0.7312 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.301, allocations: 155.8 kB / 0.7313 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.301, allocations: 15.92 kB / 0.7314 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/0.3054, allocations: 0.9535 MB / 0.7323 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.3055, allocations: 27.98 kB / 0.7323 GB, free: 14.27 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.0003071/0.3058, allocations: 249.1 kB / 0.7326 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3059, allocations: 98.69 kB / 0.7327 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.3071, allocations: 0.5125 MB / 0.7332 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3071, allocations: 4 kB / 0.7332 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3071, allocations: 4 kB / 0.7332 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.3071, allocations: 3.984 kB / 0.7332 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.309, allocations: 1.253 MB / 0.7344 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3091, allocations: 4.062 kB / 0.7344 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.3096, allocations: 119.8 kB / 0.7345 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.3096, allocations: 4 kB / 0.7345 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.3097, allocations: 19.88 kB / 0.7345 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.3111, allocations: 2.938 MB / 0.7374 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3112, allocations: 4.062 kB / 0.7374 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/0.3121, allocations: 0.5595 MB / 0.7379 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.3124, allocations: 219.7 kB / 0.7382 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3125, allocations: 8 kB / 0.7382 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.3129, allocations: 31.89 kB / 0.7382 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.313, allocations: 31.91 kB / 0.7382 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.3131, allocations: 12 kB / 0.7382 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000726/0.3138, allocations: 0.6084 MB / 0.7388 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3138, allocations: 4 kB / 0.7388 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00145/0.3152, allocations: 0.5306 MB / 0.7394 GB, free: 6.805 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.0007237/0.316, allocations: 338.1 kB / 0.7397 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.3185, allocations: 0.8398 MB / 0.7405 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3186, allocations: 4 kB / 0.7405 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.3192, allocations: 224.9 kB / 0.7407 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.3211, allocations: 402.1 kB / 0.7411 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3238, allocations: 1.528 MB / 0.7426 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.3245, allocations: 1.029 MB / 0.7436 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009762/0.3255, allocations: 198.9 kB / 0.7438 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.3257, allocations: 83.41 kB / 0.7439 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.3257, allocations: 0 / 0.7439 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.4004/0.7261, allocations: 24.98 MB / 0.7683 GB, free: 74.66 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)