Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000782/0.0007821, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.000844/0.0008444, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7383/0.7383, allocations: 132.4 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4442, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09795/0.5422, allocations: 104.1 MB / 0.6847 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02524/0.5675, allocations: 19.05 MB / 0.7033 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.5705, allocations: 91.38 kB / 0.7034 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.5731, allocations: 0.8928 MB / 0.7043 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007081/0.5802, allocations: 2.87 MB / 0.7071 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005898/0.5861, allocations: 2.383 MB / 0.7094 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008875/0.595, allocations: 8.104 MB / 0.7173 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.5981, allocations: 1.812 MB / 0.7191 GB, free: 5.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.6025, allocations: 2.232 MB / 0.7213 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.6055, allocations: 1.925 MB / 0.7231 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.606, allocations: 95.98 kB / 0.7232 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.609, allocations: 1.146 MB / 0.7244 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/0.6096, allocations: 493.7 kB / 0.7248 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008337/0.6104, allocations: 0.5705 MB / 0.7254 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003293/0.6137, allocations: 3.273 MB / 0.7286 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6138, allocations: 0 / 0.7286 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6138, allocations: 0 / 0.7286 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.218e-05/0.6139, allocations: 4 kB / 0.7286 GB, free: 11.24 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004599/0.6185, allocations: 2.716 MB / 0.7312 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6185, allocations: 8.031 kB / 0.7312 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/0.6192, allocations: 332.2 kB / 0.7316 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.6224, allocations: 2.062 MB / 0.7336 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.519e-05/0.6225, allocations: 131 kB / 0.7337 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.6227, allocations: 167.9 kB / 0.7339 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.6253, allocations: 1.596 MB / 0.7354 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.6253, allocations: 7.938 kB / 0.7354 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.6254, allocations: 64 kB / 0.7355 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.6255, allocations: 36 kB / 0.7355 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.6275, allocations: 1.147 MB / 0.7366 GB, free: 2.777 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.009028/0.6365, allocations: 7.909 MB / 0.7444 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.6372, allocations: 477.8 kB / 0.7448 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.6377, allocations: 331 kB / 0.7451 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005312/0.6383, allocations: 0.7485 MB / 0.7459 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.6383, allocations: 47.12 kB / 0.7459 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.6383, allocations: 0 / 0.7459 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001677/0.64, allocations: 0.9997 MB / 0.7469 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.64, allocations: 59.97 kB / 0.7469 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.6427, allocations: 2.304 MB / 0.7492 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.6428, allocations: 49.7 kB / 0.7492 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/0.6437, allocations: 1.146 MB / 0.7504 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.6439, allocations: 220.9 kB / 0.7506 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.6439, allocations: 20 kB / 0.7506 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6441, allocations: 349.9 kB / 0.7509 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.6447, allocations: 338.5 kB / 0.7512 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.6455, allocations: 0.7346 MB / 0.752 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.6463, allocations: 470.7 kB / 0.7524 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6463, allocations: 4 kB / 0.7524 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001946/0.6483, allocations: 1.268 MB / 0.7537 GB, free: 452 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.6485, allocations: 343.2 kB / 0.754 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6485, allocations: 8 kB / 0.754 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.6485, allocations: 20 kB / 0.754 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009911/0.6495, allocations: 259.6 kB / 0.7543 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.6495, allocations: 19.92 kB / 0.7543 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.651, allocations: 254.2 kB / 0.7545 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.634e-05/0.6511, allocations: 51.98 kB / 0.7546 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-06/0.6511, allocations: 0 / 0.7546 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/0.6527, allocations: 1.027 MB / 0.7556 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6528, allocations: 8 kB / 0.7556 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6528, allocations: 16 kB / 0.7556 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.6537, allocations: 251.6 kB / 0.7558 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.6537, allocations: 19.94 kB / 0.7559 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.655, allocations: 230.9 kB / 0.7561 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/0.6551, allocations: 47.98 kB / 0.7561 GB, free: 13.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007765/0.6559, allocations: 0.571 MB / 0.7567 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.6561, allocations: 237.1 kB / 0.7569 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.6577, allocations: 0.8968 MB / 0.7578 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.6578, allocations: 8 kB / 0.7578 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6578, allocations: 3.984 kB / 0.7578 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/0.6588, allocations: 0.6853 MB / 0.7585 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.6625, allocations: 2.586 MB / 0.761 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6625, allocations: 3.938 kB / 0.761 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.6631, allocations: 127.9 kB / 0.7611 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6631, allocations: 4 kB / 0.7611 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.6632, allocations: 15.98 kB / 0.7611 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.6632, allocations: 7.938 kB / 0.7611 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6632, allocations: 4 kB / 0.7611 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.665, allocations: 1.325 MB / 0.7624 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/0.6657, allocations: 458.2 kB / 0.7629 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.6659, allocations: 12 kB / 0.7629 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.667, allocations: 111.6 kB / 0.763 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.6671, allocations: 48.44 kB / 0.763 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.6671, allocations: 35.97 kB / 0.7631 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001983/0.6691, allocations: 1.53 MB / 0.7646 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6691, allocations: 0 / 0.7646 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002465/0.6716, allocations: 1.099 MB / 0.7656 GB, free: 3.867 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/0.6731, allocations: 0.7022 MB / 0.7663 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.6754, allocations: 1.353 MB / 0.7676 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6754, allocations: 1.375 kB / 0.7676 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.6759, allocations: 335.2 kB / 0.768 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005482/0.6814, allocations: 1.386 MB / 0.7693 GB, free: 308 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.687, allocations: 4.412 MB / 0.7736 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.688, allocations: 1.59 MB / 0.7752 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001864/0.6899, allocations: 0.497 MB / 0.7757 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.6903, allocations: 171.4 kB / 0.7758 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.6903, allocations: 0 / 0.7758 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.2956/0.9859, allocations: 43.7 MB / 0.8185 GB, free: 211.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)