Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001016/0.001016, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001027/0.001027, allocations: 183.9 kB / 17.35 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.255/1.255, allocations: 222.9 MB / 241.1 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.7918/0.7918, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.53 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 80.93 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02904/0.1815, allocations: 29.82 MB / 0.6944 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1929, allocations: 8.15 MB / 0.7024 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.1944, allocations: 27.81 kB / 0.7024 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.1956, allocations: 436.9 kB / 0.7028 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.1994, allocations: 1.438 MB / 0.7042 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.2022, allocations: 1.145 MB / 0.7054 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.2063, allocations: 3.544 MB / 0.7088 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.2085, allocations: 1.337 MB / 0.7101 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.2117, allocations: 1.702 MB / 0.7118 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.215, allocations: 1.616 MB / 0.7134 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007209/0.2157, allocations: 124 kB / 0.7135 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.2185, allocations: 1.026 MB / 0.7145 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008257/0.2193, allocations: 410.7 kB / 0.7149 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.2208, allocations: 0.7428 MB / 0.7156 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.2237, allocations: 2.209 MB / 0.7178 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2237, allocations: 0 / 0.7178 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2237, allocations: 0 / 0.7178 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.2237, allocations: 0 / 0.7178 GB, free: 15.96 MB / 0.5606 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.002684/0.2264, allocations: 1.671 MB / 0.7194 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2265, allocations: 13.11 kB / 0.7194 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.2269, allocations: 154.6 kB / 0.7196 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.2286, allocations: 0.922 MB / 0.7205 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.2287, allocations: 77.31 kB / 0.7205 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.2289, allocations: 120 kB / 0.7206 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.23, allocations: 0.6395 MB / 0.7213 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.23, allocations: 0 / 0.7213 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.2301, allocations: 27.88 kB / 0.7213 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.2301, allocations: 16 kB / 0.7213 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.231, allocations: 460.9 kB / 0.7217 GB, free: 11.73 MB / 0.5606 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.004371/0.2354, allocations: 2.883 MB / 0.7246 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005591/0.2359, allocations: 295.9 kB / 0.7248 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.2362, allocations: 153.3 kB / 0.725 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.2365, allocations: 344.7 kB / 0.7253 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2366, allocations: 42.72 kB / 0.7254 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.2366, allocations: 0 / 0.7254 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001331/0.2379, allocations: 0.5244 MB / 0.7259 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.238, allocations: 55.41 kB / 0.7259 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/0.2389, allocations: 0.9076 MB / 0.7268 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.239, allocations: 57.7 kB / 0.7269 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.2395, allocations: 490.5 kB / 0.7273 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.2395, allocations: 110.4 kB / 0.7274 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/0.2399, allocations: 295 kB / 0.7277 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2401, allocations: 334.1 kB / 0.728 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.2405, allocations: 189.4 kB / 0.7282 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.2418, allocations: 1.155 MB / 0.7293 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.2426, allocations: 451.4 kB / 0.7298 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2426, allocations: 4 kB / 0.7298 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001282/0.2439, allocations: 0.6539 MB / 0.7304 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.244, allocations: 8 kB / 0.7304 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.244, allocations: 0 / 0.7304 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.244, allocations: 4 kB / 0.7304 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.2454, allocations: 235.9 kB / 0.7307 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.2471, allocations: 2.957 MB / 0.7335 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.2503, allocations: 0.6949 MB / 0.7342 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.2504, allocations: 27.98 kB / 0.7342 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007648/0.2512, allocations: 373.3 kB / 0.7346 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001456/0.2526, allocations: 1.158 MB / 0.7357 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000828/0.2535, allocations: 464.7 kB / 0.7362 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.2535, allocations: 0 / 0.7362 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001449/0.255, allocations: 0.6588 MB / 0.7368 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.255, allocations: 7.984 kB / 0.7368 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.255, allocations: 4 kB / 0.7368 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.255, allocations: 11.94 kB / 0.7368 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.2557, allocations: 151.8 kB / 0.737 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.2557, allocations: 8 kB / 0.737 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/0.2601, allocations: 0.9616 MB / 0.7379 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.2602, allocations: 24 kB / 0.738 GB, free: 9.867 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.0003556/0.2606, allocations: 249.1 kB / 0.7382 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.2608, allocations: 98.72 kB / 0.7383 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.262, allocations: 0.5085 MB / 0.7388 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.262, allocations: 0 / 0.7388 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.262, allocations: 0 / 0.7388 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.2624, allocations: 211.7 kB / 0.739 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.2625, allocations: 12 kB / 0.739 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.263, allocations: 35.89 kB / 0.739 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.2631, allocations: 24.3 kB / 0.7391 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001295/0.2644, allocations: 0.545 MB / 0.7396 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001269/0.2657, allocations: 0.815 MB / 0.7404 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003225/0.266, allocations: 168.9 kB / 0.7405 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008049/0.2668, allocations: 0.6123 MB / 0.7411 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of Backend: time 7.21e-07/0.2669, allocations: 0 / 0.7411 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003622/0.2705, allocations: 1.04 MB / 0.7422 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003916/0.2744, allocations: 2.218 MB / 0.7443 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of Templates: time 0.3852/0.6596, allocations: 26.91 MB / 0.7706 GB, free: 71.2 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)