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.001039/0.001039, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6995/0.6995, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 65.38 kB / 0.5018 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 80.21 MB / 0.5801 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3244/0.4583, allocations: 112.6 MB / 0.6901 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03202/0.4904, allocations: 20.21 MB / 0.7098 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005662/0.4961, allocations: 110.3 kB / 0.7099 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005193/0.5013, allocations: 1.278 MB / 0.7112 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.5142, allocations: 3.676 MB / 0.7148 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008844/0.523, allocations: 3.075 MB / 0.7178 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01174/0.5348, allocations: 7.179 MB / 0.7248 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005053/0.5398, allocations: 2.576 MB / 0.7273 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007102/0.547, allocations: 2.795 MB / 0.73 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.5519, allocations: 2.123 MB / 0.7321 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009838/0.5529, allocations: 250.7 kB / 0.7324 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005161/0.558, allocations: 1.645 MB / 0.734 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.5593, allocations: 0.6912 MB / 0.7346 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00327/0.5625, allocations: 1.512 MB / 0.7361 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007482/0.57, allocations: 4.342 MB / 0.7404 GB, free: 1.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5701, allocations: 0 / 0.7404 GB, free: 1.074 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5701, allocations: 3.938 kB / 0.7404 GB, free: 1.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001603/0.5702, allocations: 4 kB / 0.7404 GB, free: 1.066 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008525/0.5788, allocations: 3.239 MB / 0.7435 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5788, allocations: 12.03 kB / 0.7435 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.5801, allocations: 320.3 kB / 0.7438 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.5842, allocations: 2.092 MB / 0.7459 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.5844, allocations: 131 kB / 0.746 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/0.5847, allocations: 175.9 kB / 0.7462 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.5878, allocations: 1.612 MB / 0.7478 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.5879, allocations: 0 / 0.7478 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.5881, allocations: 64 kB / 0.7478 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/0.5881, allocations: 39.94 kB / 0.7479 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.5903, allocations: 1.147 MB / 0.749 GB, free: 8.043 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.01213/0.6024, allocations: 7.975 MB / 0.7568 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.6032, allocations: 481.9 kB / 0.7572 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.6037, allocations: 323 kB / 0.7575 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.6043, allocations: 0.7484 MB / 0.7583 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.6044, allocations: 47.06 kB / 0.7583 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.384e-06/0.6044, allocations: 4 kB / 0.7583 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002184/0.6066, allocations: 0.9919 MB / 0.7593 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.6066, allocations: 59.97 kB / 0.7593 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/0.6103, allocations: 2.332 MB / 0.7616 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.6105, allocations: 49.7 kB / 0.7617 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009709/0.6114, allocations: 1.149 MB / 0.7628 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.6117, allocations: 212.9 kB / 0.763 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/0.6121, allocations: 254.7 kB / 0.7632 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6122, allocations: 349.9 kB / 0.7636 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.6128, allocations: 357.9 kB / 0.7639 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009633/0.6138, allocations: 0.7517 MB / 0.7646 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.6152, allocations: 0.9746 MB / 0.7656 GB, free: 6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.6153, allocations: 7.938 kB / 0.7656 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002453/0.6177, allocations: 1.295 MB / 0.7669 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.6178, allocations: 11.98 kB / 0.7669 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.6178, allocations: 8 kB / 0.7669 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.6178, allocations: 16 kB / 0.7669 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.6187, allocations: 247.6 kB / 0.7671 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.98e-05/0.6188, allocations: 20.39 kB / 0.7671 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.6204, allocations: 174.3 kB / 0.7673 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/0.6205, allocations: 51.98 kB / 0.7674 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001312/0.6218, allocations: 0.7602 MB / 0.7681 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008728/0.6227, allocations: 0.7388 MB / 0.7688 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001264/0.6239, allocations: 0.9679 MB / 0.7698 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.094e-06/0.624, allocations: 0 / 0.7698 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002322/0.6263, allocations: 1.261 MB / 0.771 GB, free: 144 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6263, allocations: 8 kB / 0.771 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.6263, allocations: 8.875 kB / 0.771 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6264, allocations: 16 kB / 0.771 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/0.6272, allocations: 255.6 kB / 0.7713 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.6272, allocations: 19.92 kB / 0.7713 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.6288, allocations: 123.2 kB / 0.7714 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/0.6289, allocations: 55.92 kB / 0.7715 GB, free: 15.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003005/0.6292, allocations: 251.9 kB / 0.7717 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/0.6298, allocations: 237 kB / 0.7719 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.6315, allocations: 0.8779 MB / 0.7728 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.6316, allocations: 4 kB / 0.7728 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6316, allocations: 0 / 0.7728 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009436/0.6325, allocations: 0.6891 MB / 0.7735 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.6368, allocations: 2.59 MB / 0.776 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6368, allocations: 0 / 0.776 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.6373, allocations: 123.9 kB / 0.7761 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.6374, allocations: 4 kB / 0.7761 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.6374, allocations: 19.98 kB / 0.7761 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6374, allocations: 3.984 kB / 0.7761 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6375, allocations: 12.03 kB / 0.7762 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.6395, allocations: 1.313 MB / 0.7774 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007692/0.6402, allocations: 414 kB / 0.7778 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/0.6407, allocations: 19.98 kB / 0.7779 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.6418, allocations: 39.95 kB / 0.7779 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.6419, allocations: 44.44 kB / 0.7779 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/0.6419, allocations: 39.97 kB / 0.778 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002432/0.6444, allocations: 1.566 MB / 0.7795 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6444, allocations: 0 / 0.7795 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003134/0.6475, allocations: 1.122 MB / 0.7806 GB, free: 6.141 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/0.6493, allocations: 0.7399 MB / 0.7813 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.6522, allocations: 1.449 MB / 0.7827 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6522, allocations: 8.188 kB / 0.7827 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.6528, allocations: 319 kB / 0.783 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/0.6588, allocations: 1.388 MB / 0.7844 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/0.6653, allocations: 3.732 MB / 0.788 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.6668, allocations: 1.597 MB / 0.7896 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002193/0.669, allocations: 0.4887 MB / 0.7901 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.6694, allocations: 171.4 kB / 0.7902 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of SimCode: time 1.142e-06/0.6694, allocations: 0 / 0.7902 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of Templates: time 0.07504/0.7445, allocations: 46.77 MB / 0.8359 GB, free: 14.26 MB / 0.6544 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)