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.00172/0.00172, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002292/0.002292, allocations: 201.2 kB / 16.26 MB, free: 6.621 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9457/0.9457, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 67.73 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.204, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.401/0.605, allocations: 111.6 MB / 0.6935 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03157/0.6366, allocations: 20.07 MB / 0.7131 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004304/0.6409, allocations: 96.66 kB / 0.7132 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.645, allocations: 1.097 MB / 0.7143 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.011/0.6561, allocations: 3.422 MB / 0.7176 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008621/0.6647, allocations: 2.861 MB / 0.7204 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.6764, allocations: 7.254 MB / 0.7275 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004461/0.6809, allocations: 2.54 MB / 0.73 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008153/0.6891, allocations: 2.817 MB / 0.7327 GB, free: 4.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004802/0.6939, allocations: 2.197 MB / 0.7349 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.695, allocations: 259.1 kB / 0.7351 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/0.7003, allocations: 1.662 MB / 0.7367 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.7017, allocations: 0.685 MB / 0.7374 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.7053, allocations: 1.512 MB / 0.7389 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009048/0.7144, allocations: 4.362 MB / 0.7432 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.7144, allocations: 0 / 0.7432 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7144, allocations: 0 / 0.7432 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001446/0.7146, allocations: 0 / 0.7432 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.007429/0.722, allocations: 3.23 MB / 0.7463 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7221, allocations: 12.03 kB / 0.7463 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.7232, allocations: 328.2 kB / 0.7466 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/0.7277, allocations: 2.143 MB / 0.7487 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.7279, allocations: 123 kB / 0.7488 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/0.7283, allocations: 172 kB / 0.749 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.7318, allocations: 1.616 MB / 0.7506 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.7319, allocations: 4 kB / 0.7506 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.732, allocations: 60 kB / 0.7506 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.7321, allocations: 43.94 kB / 0.7507 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.7343, allocations: 1.151 MB / 0.7518 GB, free: 2.164 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.01241/0.7467, allocations: 7.881 MB / 0.7595 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.7476, allocations: 477.8 kB / 0.76 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.7481, allocations: 327 kB / 0.7603 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007171/0.7489, allocations: 0.7485 MB / 0.761 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.7489, allocations: 47.12 kB / 0.7611 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.545e-06/0.7489, allocations: 7.938 kB / 0.7611 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002257/0.7512, allocations: 0.9881 MB / 0.762 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.7513, allocations: 55.97 kB / 0.7621 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.7547, allocations: 2.316 MB / 0.7643 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.7549, allocations: 45.7 kB / 0.7644 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.756, allocations: 1.149 MB / 0.7655 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.7563, allocations: 212.9 kB / 0.7657 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/0.7566, allocations: 258.6 kB / 0.766 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.7568, allocations: 345.9 kB / 0.7663 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.7575, allocations: 361.9 kB / 0.7666 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.7586, allocations: 0.7501 MB / 0.7674 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.7601, allocations: 0.9824 MB / 0.7683 GB, free: 228 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.7602, allocations: 7.938 kB / 0.7683 GB, free: 220 kB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002543/0.7627, allocations: 1.295 MB / 0.7696 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.7627, allocations: 10.19 kB / 0.7696 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.7628, allocations: 8 kB / 0.7696 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.7628, allocations: 12 kB / 0.7696 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.7638, allocations: 255.6 kB / 0.7699 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.7638, allocations: 15.94 kB / 0.7699 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.7659, allocations: 250.4 kB / 0.7701 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.7661, allocations: 51.98 kB / 0.7702 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00157/0.7677, allocations: 0.7563 MB / 0.7709 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001058/0.7688, allocations: 0.7465 MB / 0.7716 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/0.7703, allocations: 0.9577 MB / 0.7726 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.813e-06/0.7703, allocations: 8 kB / 0.7726 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002595/0.7729, allocations: 1.25 MB / 0.7738 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7729, allocations: 12 kB / 0.7738 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7729, allocations: 12.78 kB / 0.7738 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.773, allocations: 12 kB / 0.7738 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/0.7739, allocations: 255.6 kB / 0.7741 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/0.7739, allocations: 19.94 kB / 0.7741 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.7758, allocations: 191 kB / 0.7743 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.776, allocations: 44 kB / 0.7743 GB, free: 9.77 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.0003608/0.7763, allocations: 251.9 kB / 0.7746 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.7769, allocations: 233.1 kB / 0.7748 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.7788, allocations: 0.8862 MB / 0.7757 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.7788, allocations: 11.98 kB / 0.7757 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7788, allocations: 0 / 0.7757 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.7799, allocations: 0.6775 MB / 0.7763 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004589/0.7845, allocations: 2.578 MB / 0.7788 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7846, allocations: 0 / 0.7788 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.7851, allocations: 127.8 kB / 0.779 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.7851, allocations: 8 kB / 0.779 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.7852, allocations: 23.98 kB / 0.779 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.7852, allocations: 4 kB / 0.779 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7852, allocations: 3.984 kB / 0.779 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.7876, allocations: 1.31 MB / 0.7803 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009412/0.7886, allocations: 414 kB / 0.7807 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.7889, allocations: 16 kB / 0.7807 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7901, allocations: 115.7 kB / 0.7808 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7902, allocations: 48.38 kB / 0.7808 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.7903, allocations: 35.97 kB / 0.7809 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002533/0.7928, allocations: 1.546 MB / 0.7824 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7928, allocations: 0 / 0.7824 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003134/0.796, allocations: 1.099 MB / 0.7835 GB, free: 236 kB / 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.00221/0.7982, allocations: 0.7403 MB / 0.7842 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0032/0.8014, allocations: 1.445 MB / 0.7856 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.8014, allocations: 0 / 0.7856 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.8021, allocations: 335 kB / 0.7859 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006174/0.8082, allocations: 1.381 MB / 0.7873 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/0.8153, allocations: 4.527 MB / 0.7917 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.8168, allocations: 1.59 MB / 0.7932 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002337/0.8191, allocations: 0.4943 MB / 0.7937 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005175/0.8197, allocations: 175.4 kB / 0.7939 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/0.8197, allocations: 0 / 0.7939 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.08093/0.9006, allocations: 46.03 MB / 0.8388 GB, free: 8.168 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)