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.001408/0.001408, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001926/0.001926, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 60.09 kB / 0.5049 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1716, allocations: 80.93 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.405/0.5766, allocations: 111.6 MB / 0.6929 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.032/0.6087, allocations: 20.07 MB / 0.7125 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005335/0.614, allocations: 98.78 kB / 0.7126 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004582/0.6187, allocations: 1.097 MB / 0.7137 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.6318, allocations: 3.422 MB / 0.717 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00987/0.6417, allocations: 2.871 MB / 0.7198 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01419/0.6559, allocations: 7.247 MB / 0.7269 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005237/0.6611, allocations: 2.537 MB / 0.7294 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008267/0.6694, allocations: 2.824 MB / 0.7321 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004581/0.6741, allocations: 2.197 MB / 0.7343 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.6754, allocations: 253.3 kB / 0.7345 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005357/0.6808, allocations: 1.652 MB / 0.7361 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.6821, allocations: 0.6967 MB / 0.7368 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003747/0.6859, allocations: 1.512 MB / 0.7383 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009212/0.6951, allocations: 4.366 MB / 0.7425 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.6952, allocations: 0 / 0.7425 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6952, allocations: 0 / 0.7425 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000184/0.6954, allocations: 0 / 0.7425 GB, free: 13.13 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.00869/0.7041, allocations: 3.219 MB / 0.7457 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.7042, allocations: 12.03 kB / 0.7457 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.7056, allocations: 328.2 kB / 0.746 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/0.7109, allocations: 2.151 MB / 0.7481 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.7111, allocations: 123 kB / 0.7482 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005856/0.7117, allocations: 172 kB / 0.7484 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.7157, allocations: 1.604 MB / 0.75 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.508e-05/0.7158, allocations: 11.94 kB / 0.75 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.716, allocations: 56 kB / 0.75 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.7161, allocations: 47.94 kB / 0.7501 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.719, allocations: 1.147 MB / 0.7512 GB, free: 4.066 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.01535/0.7343, allocations: 7.893 MB / 0.7589 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.7353, allocations: 481.9 kB / 0.7594 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.7359, allocations: 319 kB / 0.7597 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/0.7366, allocations: 0.7602 MB / 0.7604 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.7368, allocations: 43.12 kB / 0.7605 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.467e-06/0.7368, allocations: 0 / 0.7605 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002525/0.7393, allocations: 0.9842 MB / 0.7614 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.7394, allocations: 55.97 kB / 0.7615 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/0.7437, allocations: 2.316 MB / 0.7637 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.744, allocations: 45.7 kB / 0.7638 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.7456, allocations: 1.161 MB / 0.7649 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.746, allocations: 212.9 kB / 0.7651 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006178/0.7466, allocations: 254.6 kB / 0.7654 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.7468, allocations: 345.9 kB / 0.7657 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/0.7476, allocations: 361.9 kB / 0.766 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.7487, allocations: 0.7462 MB / 0.7668 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.7504, allocations: 0.9785 MB / 0.7677 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.7505, allocations: 11.94 kB / 0.7677 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003108/0.7536, allocations: 1.287 MB / 0.769 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.7536, allocations: 8 kB / 0.769 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.7536, allocations: 15.92 kB / 0.769 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.7537, allocations: 12.66 kB / 0.769 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.7547, allocations: 251.6 kB / 0.7693 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.505e-05/0.7547, allocations: 27.86 kB / 0.7693 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.7569, allocations: 246.2 kB / 0.7695 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.757, allocations: 51.98 kB / 0.7696 GB, free: 228 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/0.7586, allocations: 0.7602 MB / 0.7703 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009846/0.7596, allocations: 0.7349 MB / 0.771 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001458/0.761, allocations: 0.9522 MB / 0.772 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.058e-05/0.7611, allocations: 4 kB / 0.772 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002626/0.7637, allocations: 1.266 MB / 0.7732 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7637, allocations: 11.98 kB / 0.7732 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.7637, allocations: 8 kB / 0.7732 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.7638, allocations: 12 kB / 0.7732 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.7647, allocations: 247.6 kB / 0.7735 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.7648, allocations: 19.94 kB / 0.7735 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.7668, allocations: 187.1 kB / 0.7737 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.7669, allocations: 47.98 kB / 0.7737 GB, free: 11.69 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.0003382/0.7672, allocations: 259.8 kB / 0.774 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006299/0.7679, allocations: 237.1 kB / 0.7742 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.7698, allocations: 0.8801 MB / 0.775 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.7699, allocations: 8 kB / 0.775 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7699, allocations: 0 / 0.775 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.7709, allocations: 0.6852 MB / 0.7757 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0051/0.776, allocations: 2.574 MB / 0.7782 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.776, allocations: 4 kB / 0.7782 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.7766, allocations: 127.8 kB / 0.7784 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.7766, allocations: 4 kB / 0.7784 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.7767, allocations: 24.08 kB / 0.7784 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7767, allocations: 4 kB / 0.7784 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7767, allocations: 0 / 0.7784 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.7789, allocations: 1.313 MB / 0.7797 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.7801, allocations: 418 kB / 0.7801 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/0.7806, allocations: 19.97 kB / 0.7801 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.782, allocations: 115.6 kB / 0.7802 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.7821, allocations: 48.38 kB / 0.7802 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-05/0.7822, allocations: 39.97 kB / 0.7803 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002562/0.7848, allocations: 1.542 MB / 0.7818 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7848, allocations: 0 / 0.7818 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00323/0.788, allocations: 1.107 MB / 0.7829 GB, free: 2.129 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.001742/0.7898, allocations: 0.7235 MB / 0.7836 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.7929, allocations: 1.441 MB / 0.785 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7929, allocations: 0 / 0.785 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.7935, allocations: 335 kB / 0.7853 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006116/0.7996, allocations: 1.391 MB / 0.7867 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.8065, allocations: 4.536 MB / 0.7911 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.8079, allocations: 1.586 MB / 0.7926 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002358/0.8103, allocations: 0.4941 MB / 0.7931 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/0.8108, allocations: 171.4 kB / 0.7933 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.8108, allocations: 0 / 0.7933 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.07723/0.888, allocations: 46.04 MB / 0.8382 GB, free: 10.07 MB / 0.6544 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)