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.001109/0.001109, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001182/0.001182, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7876/0.7876, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.94 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03287/0.1803, allocations: 29.84 MB / 0.6895 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.192, allocations: 8.139 MB / 0.6974 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.1933, allocations: 27.81 kB / 0.6975 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.1947, allocations: 448.9 kB / 0.6979 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003946/0.1987, allocations: 1.422 MB / 0.6993 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.2015, allocations: 1.151 MB / 0.7004 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004314/0.2058, allocations: 3.548 MB / 0.7039 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/0.208, allocations: 1.326 MB / 0.7052 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.211, allocations: 1.71 MB / 0.7068 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.2143, allocations: 1.62 MB / 0.7084 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006825/0.215, allocations: 124 kB / 0.7085 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.2175, allocations: 1.022 MB / 0.7095 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006917/0.2182, allocations: 406.7 kB / 0.7099 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.2196, allocations: 0.7467 MB / 0.7106 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.2228, allocations: 2.215 MB / 0.7128 GB, free: 4.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2228, allocations: 0 / 0.7128 GB, free: 4.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.348e-06/0.2228, allocations: 0 / 0.7128 GB, free: 4.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.303e-05/0.2229, allocations: 3.938 kB / 0.7128 GB, free: 4.383 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.003308/0.2262, allocations: 1.712 MB / 0.7145 GB, free: 2.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2263, allocations: 8.031 kB / 0.7145 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.2267, allocations: 163.3 kB / 0.7146 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.2286, allocations: 0.9307 MB / 0.7156 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.405e-05/0.2288, allocations: 81.31 kB / 0.7156 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.229, allocations: 116 kB / 0.7157 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.2302, allocations: 0.6395 MB / 0.7164 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2302, allocations: 0 / 0.7164 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.035e-05/0.2303, allocations: 27.94 kB / 0.7164 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2303, allocations: 12 kB / 0.7164 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.2313, allocations: 468.8 kB / 0.7168 GB, free: 108 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.004619/0.2359, allocations: 2.864 MB / 0.7196 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.2365, allocations: 311.2 kB / 0.7199 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.2369, allocations: 149.3 kB / 0.7201 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/0.2372, allocations: 348.7 kB / 0.7204 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2372, allocations: 30.84 kB / 0.7204 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.2372, allocations: 0 / 0.7204 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00131/0.2385, allocations: 0.5375 MB / 0.721 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2386, allocations: 55.41 kB / 0.721 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.2397, allocations: 0.9036 MB / 0.7219 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.2398, allocations: 61.7 kB / 0.722 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.2402, allocations: 491.3 kB / 0.7224 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.2403, allocations: 111 kB / 0.7225 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/0.2408, allocations: 295 kB / 0.7228 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2409, allocations: 334.1 kB / 0.7231 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.2413, allocations: 197.3 kB / 0.7233 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.2427, allocations: 1.155 MB / 0.7245 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.2435, allocations: 451.5 kB / 0.7249 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2435, allocations: 0 / 0.7249 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001337/0.2449, allocations: 0.6583 MB / 0.7255 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2449, allocations: 6.031 kB / 0.7255 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2449, allocations: 12.11 kB / 0.7255 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2449, allocations: 8 kB / 0.7256 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.2464, allocations: 231.7 kB / 0.7258 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.2479, allocations: 2.958 MB / 0.7287 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.2509, allocations: 0.6951 MB / 0.7293 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-05/0.251, allocations: 31.98 kB / 0.7294 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006712/0.2517, allocations: 369.3 kB / 0.7297 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00128/0.253, allocations: 1.162 MB / 0.7309 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008033/0.2538, allocations: 460.7 kB / 0.7313 GB, free: 60 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/0.2538, allocations: 0 / 0.7313 GB, free: 60 kB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001447/0.2553, allocations: 0.6594 MB / 0.7319 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2553, allocations: 4 kB / 0.7319 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2553, allocations: 4 kB / 0.732 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2553, allocations: 7.984 kB / 0.732 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.256, allocations: 160.1 kB / 0.7321 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.256, allocations: 15.92 kB / 0.7321 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/0.2602, allocations: 0.9613 MB / 0.7331 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.2603, allocations: 31.92 kB / 0.7331 GB, free: 14.21 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.0002759/0.2606, allocations: 245 kB / 0.7333 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.2607, allocations: 99.34 kB / 0.7334 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2619, allocations: 0.5164 MB / 0.7339 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2619, allocations: 0 / 0.7339 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2619, allocations: 4 kB / 0.7339 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.2622, allocations: 212.3 kB / 0.7341 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.2624, allocations: 8 kB / 0.7341 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.2628, allocations: 39.89 kB / 0.7342 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.2629, allocations: 20.3 kB / 0.7342 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001191/0.2641, allocations: 0.5489 MB / 0.7347 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001262/0.2654, allocations: 0.8161 MB / 0.7355 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003251/0.2657, allocations: 172.9 kB / 0.7357 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007521/0.2665, allocations: 0.6045 MB / 0.7363 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Backend: time 6.11e-07/0.2665, allocations: 3.938 kB / 0.7363 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003438/0.2699, allocations: 1.041 MB / 0.7373 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003516/0.2735, allocations: 2.234 MB / 0.7395 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.3568/0.6303, allocations: 26.92 MB / 0.7658 GB, free: 77.41 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)