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.001093/0.001094, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001155/0.001155, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.325/1.325, allocations: 222.9 MB / 241.1 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.814/0.814, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.61 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03516/0.1765, allocations: 29.83 MB / 0.6895 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.1899, allocations: 8.141 MB / 0.6974 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.1915, allocations: 31.81 kB / 0.6975 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.1931, allocations: 432.9 kB / 0.6979 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005929/0.1992, allocations: 1.441 MB / 0.6993 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.2028, allocations: 1.138 MB / 0.7004 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005132/0.208, allocations: 3.552 MB / 0.7039 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.2104, allocations: 1.326 MB / 0.7052 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.214, allocations: 1.706 MB / 0.7068 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.2176, allocations: 1.624 MB / 0.7084 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008041/0.2184, allocations: 124 kB / 0.7085 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.2217, allocations: 1.014 MB / 0.7095 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009443/0.2227, allocations: 406.7 kB / 0.7099 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.2249, allocations: 0.7505 MB / 0.7106 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.2293, allocations: 2.205 MB / 0.7128 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2294, allocations: 0 / 0.7128 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.408e-06/0.2294, allocations: 0 / 0.7128 GB, free: 4.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.229e-05/0.2295, allocations: 3.938 kB / 0.7128 GB, free: 4.371 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.003912/0.2334, allocations: 1.671 MB / 0.7144 GB, free: 2.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.2335, allocations: 12.03 kB / 0.7144 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.234, allocations: 150.6 kB / 0.7146 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.2364, allocations: 0.922 MB / 0.7155 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.2364, allocations: 77.31 kB / 0.7155 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.2367, allocations: 120 kB / 0.7157 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.2379, allocations: 0.6434 MB / 0.7163 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2379, allocations: 0 / 0.7163 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.2379, allocations: 23.94 kB / 0.7163 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.238, allocations: 16 kB / 0.7163 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009844/0.2389, allocations: 464.9 kB / 0.7168 GB, free: 156 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.00498/0.2439, allocations: 2.871 MB / 0.7196 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.2446, allocations: 311.2 kB / 0.7199 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.2449, allocations: 145.4 kB / 0.72 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/0.2453, allocations: 344.7 kB / 0.7203 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2453, allocations: 38.83 kB / 0.7204 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.2453, allocations: 0 / 0.7204 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001264/0.2466, allocations: 0.5252 MB / 0.7209 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.2466, allocations: 55.41 kB / 0.7209 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2477, allocations: 0.9075 MB / 0.7218 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.2478, allocations: 57.7 kB / 0.7219 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.2483, allocations: 482.6 kB / 0.7223 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.2484, allocations: 114.4 kB / 0.7225 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/0.2488, allocations: 290.9 kB / 0.7227 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2489, allocations: 334.1 kB / 0.7231 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.2493, allocations: 197.3 kB / 0.7232 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.2507, allocations: 1.155 MB / 0.7244 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.2516, allocations: 451.5 kB / 0.7248 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2516, allocations: 11.94 kB / 0.7248 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001336/0.2529, allocations: 0.6541 MB / 0.7254 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2529, allocations: 12 kB / 0.7255 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.253, allocations: 3.984 kB / 0.7255 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.253, allocations: 4 kB / 0.7255 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.2544, allocations: 227.7 kB / 0.7257 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.2561, allocations: 2.954 MB / 0.7286 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/0.2595, allocations: 0.7027 MB / 0.7293 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.2595, allocations: 27.98 kB / 0.7293 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007268/0.2603, allocations: 369.3 kB / 0.7296 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001347/0.2616, allocations: 1.158 MB / 0.7308 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007775/0.2624, allocations: 464.7 kB / 0.7312 GB, free: 120 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.2624, allocations: 4 kB / 0.7312 GB, free: 116 kB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001461/0.2639, allocations: 0.6432 MB / 0.7318 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2639, allocations: 4 kB / 0.7318 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2639, allocations: 4 kB / 0.7318 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.264, allocations: 8.312 kB / 0.7319 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.2646, allocations: 163.8 kB / 0.732 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.2647, allocations: 11.94 kB / 0.732 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/0.2692, allocations: 0.9574 MB / 0.733 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.2692, allocations: 35.92 kB / 0.733 GB, free: 14.28 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.0003245/0.2696, allocations: 245 kB / 0.7332 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.2698, allocations: 98.69 kB / 0.7333 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.2709, allocations: 0.5047 MB / 0.7338 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.2709, allocations: 3.984 kB / 0.7338 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.271, allocations: 0 / 0.7338 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.2713, allocations: 211.7 kB / 0.734 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2714, allocations: 12 kB / 0.734 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.2719, allocations: 27.91 kB / 0.7341 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.272, allocations: 28.47 kB / 0.7341 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001201/0.2732, allocations: 0.545 MB / 0.7346 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001261/0.2745, allocations: 0.8116 MB / 0.7354 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003165/0.2748, allocations: 172.9 kB / 0.7356 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008273/0.2756, allocations: 0.6084 MB / 0.7362 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of Backend: time 3.61e-07/0.2756, allocations: 3.938 kB / 0.7362 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003618/0.2793, allocations: 1.038 MB / 0.7372 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003703/0.283, allocations: 2.213 MB / 0.7393 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.3413/0.6243, allocations: 26.91 MB / 0.7656 GB, free: 77.36 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)