Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001326/0.001327, allocations: 104.7 kB / 16.36 MB, free: 5.875 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.001415/0.001415, allocations: 191 kB / 17.29 MB, free: 5.516 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7333/0.7333, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.89 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2925, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.08954/0.382, allocations: 112.6 MB / 0.6958 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02548/0.4075, allocations: 20.21 MB / 0.7155 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.4109, allocations: 107.3 kB / 0.7156 GB, free: 5.227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00334/0.4142, allocations: 1.285 MB / 0.7169 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00916/0.4235, allocations: 3.683 MB / 0.7205 GB, free: 244 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006863/0.4303, allocations: 3.116 MB / 0.7235 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008429/0.4388, allocations: 7.212 MB / 0.7305 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003075/0.4419, allocations: 2.568 MB / 0.733 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005063/0.447, allocations: 2.811 MB / 0.7358 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.45, allocations: 2.131 MB / 0.7379 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.4504, allocations: 252 kB / 0.7381 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.4535, allocations: 1.642 MB / 0.7397 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.4541, allocations: 0.6967 MB / 0.7404 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.4555, allocations: 1.508 MB / 0.7419 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.46, allocations: 4.396 MB / 0.7462 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.46, allocations: 0 / 0.7462 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4601, allocations: 0 / 0.7462 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.4601, allocations: 0 / 0.7462 GB, free: 5.844 MB / 0.5762 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.004503/0.4646, allocations: 3.237 MB / 0.7493 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4646, allocations: 9.109 kB / 0.7493 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006417/0.4653, allocations: 324.2 kB / 0.7496 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2406/0.7059, allocations: 2.193 MB / 0.7518 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.7061, allocations: 124.5 kB / 0.7519 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004756/0.7066, allocations: 171.5 kB / 0.7521 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.7094, allocations: 1.604 MB / 0.7536 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.7095, allocations: 6.625 kB / 0.7536 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.7096, allocations: 62.89 kB / 0.7537 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.7096, allocations: 43.53 kB / 0.7537 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.7116, allocations: 1.146 MB / 0.7549 GB, free: 157.4 MB / 0.5762 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.009755/0.7214, allocations: 7.911 MB / 0.7626 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/0.7222, allocations: 482 kB / 0.763 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.7227, allocations: 324.8 kB / 0.7634 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/0.7232, allocations: 0.7535 MB / 0.7641 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.7232, allocations: 44.5 kB / 0.7641 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.957e-06/0.7232, allocations: 0 / 0.7641 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001831/0.7251, allocations: 0.9939 MB / 0.7651 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7251, allocations: 57.94 kB / 0.7652 GB, free: 150 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.7275, allocations: 2.337 MB / 0.7674 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.7276, allocations: 49.52 kB / 0.7675 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006191/0.7282, allocations: 1.147 MB / 0.7686 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.7283, allocations: 216.4 kB / 0.7688 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.7286, allocations: 257 kB / 0.7691 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.7287, allocations: 350.2 kB / 0.7694 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.7292, allocations: 357 kB / 0.7697 GB, free: 147 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.7299, allocations: 0.7488 MB / 0.7705 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.7309, allocations: 0.9816 MB / 0.7714 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7309, allocations: 3.906 kB / 0.7714 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001874/0.7328, allocations: 1.293 MB / 0.7727 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.7328, allocations: 15.19 kB / 0.7727 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.7329, allocations: 7.781 kB / 0.7727 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.7329, allocations: 12.97 kB / 0.7727 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.7338, allocations: 253.3 kB / 0.773 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.7338, allocations: 22.41 kB / 0.773 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.7353, allocations: 171.9 kB / 0.7732 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.7354, allocations: 55.16 kB / 0.7732 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/0.7365, allocations: 0.7575 MB / 0.7739 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006514/0.7372, allocations: 0.7402 MB / 0.7747 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009987/0.7382, allocations: 0.9562 MB / 0.7756 GB, free: 143 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/0.7382, allocations: 3.219 kB / 0.7756 GB, free: 143 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001635/0.7399, allocations: 1.258 MB / 0.7768 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.7399, allocations: 12 kB / 0.7768 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7399, allocations: 10.81 kB / 0.7769 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7399, allocations: 15.94 kB / 0.7769 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.7407, allocations: 251.6 kB / 0.7771 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.7407, allocations: 19.94 kB / 0.7771 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.7418, allocations: 123.1 kB / 0.7772 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.7419, allocations: 51.98 kB / 0.7773 GB, free: 141.4 MB / 0.5762 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.0002153/0.7421, allocations: 248.7 kB / 0.7775 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.7424, allocations: 241 kB / 0.7778 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.7437, allocations: 0.8846 MB / 0.7786 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.7438, allocations: 8 kB / 0.7786 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7438, allocations: 3.984 kB / 0.7786 GB, free: 140 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007477/0.7445, allocations: 0.6813 MB / 0.7793 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.7474, allocations: 2.583 MB / 0.7818 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7474, allocations: 0 / 0.7818 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.7479, allocations: 131.3 kB / 0.782 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7479, allocations: 4 kB / 0.782 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.7479, allocations: 19.61 kB / 0.782 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7479, allocations: 4 kB / 0.782 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7479, allocations: 2 kB / 0.782 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.7494, allocations: 1.321 MB / 0.7833 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.7499, allocations: 413.9 kB / 0.7837 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.7501, allocations: 12 kB / 0.7837 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.7509, allocations: 51.88 kB / 0.7837 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.751, allocations: 44.44 kB / 0.7838 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.7511, allocations: 27.98 kB / 0.7838 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001522/0.7526, allocations: 1.569 MB / 0.7853 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7526, allocations: 0 / 0.7853 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001969/0.7546, allocations: 1.116 MB / 0.7864 GB, free: 132 MB / 0.5762 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.00131/0.7559, allocations: 0.7502 MB / 0.7872 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.7576, allocations: 1.358 MB / 0.7885 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7577, allocations: 0 / 0.7885 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.758, allocations: 327 kB / 0.7888 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/0.7622, allocations: 1.386 MB / 0.7901 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.7662, allocations: 3.672 MB / 0.7937 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.767, allocations: 1.59 MB / 0.7953 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001369/0.7683, allocations: 0.4985 MB / 0.7958 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.7686, allocations: 171.4 kB / 0.7959 GB, free: 122.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.7686, allocations: 0 / 0.7959 GB, free: 122.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.05271/0.8213, allocations: 44.36 MB / 0.8393 GB, free: 78.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)