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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9291/0.9291, allocations: 134 MB / 438.5 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.89 kB / 0.6084 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4021, allocations: 84.68 MB / 0.691 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1394/0.5415, allocations: 114.6 MB / 0.803 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03587/0.5774, allocations: 20.3 MB / 0.8228 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005413/0.5828, allocations: 111.3 kB / 0.8229 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.5877, allocations: 1.316 MB / 0.8242 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.5987, allocations: 3.864 MB / 0.828 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008052/0.6068, allocations: 3.157 MB / 0.831 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.6185, allocations: 7.218 MB / 0.8381 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004038/0.6225, allocations: 1.99 MB / 0.84 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007677/0.6302, allocations: 2.904 MB / 0.8429 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004742/0.6349, allocations: 2.233 MB / 0.8451 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.6359, allocations: 256 kB / 0.8453 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005244/0.6412, allocations: 1.669 MB / 0.8469 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.6425, allocations: 0.7159 MB / 0.8476 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.6452, allocations: 1.516 MB / 0.8491 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008238/0.6534, allocations: 4.421 MB / 0.8534 GB, free: 15.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6534, allocations: 0 / 0.8534 GB, free: 15.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6534, allocations: 0 / 0.8534 GB, free: 15.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001381/0.6536, allocations: 0 / 0.8534 GB, free: 15.32 MB / 0.67 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.006636/0.6602, allocations: 3.324 MB / 0.8567 GB, free: 11.92 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6603, allocations: 16.02 kB / 0.8567 GB, free: 11.9 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009511/0.6612, allocations: 337.9 kB / 0.857 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004772/0.666, allocations: 2.223 MB / 0.8592 GB, free: 9.281 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.6661, allocations: 126.9 kB / 0.8593 GB, free: 9.156 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.6664, allocations: 168 kB / 0.8595 GB, free: 8.992 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.6695, allocations: 1.612 MB / 0.861 GB, free: 7.316 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.6695, allocations: 11.86 kB / 0.861 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.6697, allocations: 64 kB / 0.8611 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.6697, allocations: 44 kB / 0.8612 GB, free: 7.199 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.6719, allocations: 1.147 MB / 0.8623 GB, free: 6.047 MB / 0.67 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.3516/1.024, allocations: 7.924 MB / 0.87 GB, free: 164 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009471/1.024, allocations: 444.8 kB / 0.8704 GB, free: 163.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/1.025, allocations: 300.5 kB / 0.8707 GB, free: 163.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005053/1.026, allocations: 0.7515 MB / 0.8715 GB, free: 163.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.026, allocations: 39.77 kB / 0.8715 GB, free: 163 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/1.026, allocations: 0 / 0.8715 GB, free: 163 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002507/1.028, allocations: 1.001 MB / 0.8725 GB, free: 162.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.028, allocations: 62.95 kB / 0.8725 GB, free: 162.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/1.032, allocations: 2.334 MB / 0.8748 GB, free: 161.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003296/1.032, allocations: 44.7 kB / 0.8749 GB, free: 161.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/1.034, allocations: 1.169 MB / 0.876 GB, free: 161.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/1.034, allocations: 226 kB / 0.8762 GB, free: 160.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/1.035, allocations: 265.4 kB / 0.8765 GB, free: 160.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.035, allocations: 349.9 kB / 0.8768 GB, free: 160.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008325/1.035, allocations: 358.8 kB / 0.8771 GB, free: 160.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.037, allocations: 0.7475 MB / 0.8779 GB, free: 159.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/1.038, allocations: 0.9805 MB / 0.8788 GB, free: 159.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/1.038, allocations: 2.094 kB / 0.8788 GB, free: 159.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003322/1.042, allocations: 1.31 MB / 0.8801 GB, free: 158.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/1.042, allocations: 8.438 kB / 0.8801 GB, free: 158.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/1.042, allocations: 8.312 kB / 0.8801 GB, free: 158.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.023e-05/1.042, allocations: 15.84 kB / 0.8801 GB, free: 158.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.043, allocations: 253.1 kB / 0.8804 GB, free: 158.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.356e-05/1.043, allocations: 21.38 kB / 0.8804 GB, free: 158.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.045, allocations: 183.8 kB / 0.8806 GB, free: 158.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.045, allocations: 51.39 kB / 0.8806 GB, free: 158.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001531/1.046, allocations: 0.7616 MB / 0.8814 GB, free: 158.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008337/1.047, allocations: 0.7319 MB / 0.8821 GB, free: 157.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001241/1.048, allocations: 0.9577 MB / 0.883 GB, free: 156.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.132e-06/1.048, allocations: 2.188 kB / 0.883 GB, free: 156.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002471/1.051, allocations: 1.26 MB / 0.8843 GB, free: 156.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.051, allocations: 11.97 kB / 0.8843 GB, free: 156.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.051, allocations: 8.25 kB / 0.8843 GB, free: 156.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.051, allocations: 13.69 kB / 0.8843 GB, free: 156.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/1.052, allocations: 257 kB / 0.8845 GB, free: 156.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/1.052, allocations: 21.42 kB / 0.8846 GB, free: 156.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/1.054, allocations: 125.8 kB / 0.8847 GB, free: 156.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.764e-05/1.054, allocations: 52.56 kB / 0.8847 GB, free: 156.2 MB / 0.67 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.000423/1.054, allocations: 249.7 kB / 0.885 GB, free: 156 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/1.055, allocations: 244.8 kB / 0.8852 GB, free: 155.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/1.056, allocations: 0.8787 MB / 0.886 GB, free: 155.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.056, allocations: 9.219 kB / 0.8861 GB, free: 155.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.056, allocations: 0 / 0.8861 GB, free: 155.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009027/1.057, allocations: 0.6896 MB / 0.8867 GB, free: 155.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/1.061, allocations: 2.587 MB / 0.8893 GB, free: 153.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/1.061, allocations: 2.188 kB / 0.8893 GB, free: 153.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/1.062, allocations: 122.5 kB / 0.8894 GB, free: 153.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.062, allocations: 7.875 kB / 0.8894 GB, free: 153.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/1.062, allocations: 17.98 kB / 0.8894 GB, free: 153.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.062, allocations: 2.906 kB / 0.8894 GB, free: 153.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.062, allocations: 2.625 kB / 0.8894 GB, free: 153.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.064, allocations: 1.329 MB / 0.8907 GB, free: 152.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/1.064, allocations: 434.9 kB / 0.8911 GB, free: 152.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/1.064, allocations: 15.91 kB / 0.8911 GB, free: 152.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/1.065, allocations: 53.61 kB / 0.8912 GB, free: 152.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/1.065, allocations: 39.58 kB / 0.8912 GB, free: 152.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/1.065, allocations: 31.66 kB / 0.8913 GB, free: 152.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001729/1.067, allocations: 1.57 MB / 0.8928 GB, free: 151.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.067, allocations: 0 / 0.8928 GB, free: 151.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00227/1.069, allocations: 1.117 MB / 0.8939 GB, free: 151.4 MB / 0.67 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.001828/1.071, allocations: 0.7527 MB / 0.8946 GB, free: 151.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002074/1.073, allocations: 1.287 MB / 0.8959 GB, free: 150.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.073, allocations: 3.938 kB / 0.8959 GB, free: 150.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/1.074, allocations: 301.1 kB / 0.8962 GB, free: 150.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004837/1.079, allocations: 1.388 MB / 0.8975 GB, free: 149.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/1.083, allocations: 3.761 MB / 0.9012 GB, free: 147.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/1.084, allocations: 1.594 MB / 0.9027 GB, free: 145.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001997/1.086, allocations: 486.3 kB / 0.9032 GB, free: 145.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/1.086, allocations: 187.2 kB / 0.9034 GB, free: 144.9 MB / 0.67 GB Notification: Performance of SimCode: time 2.284e-06/1.086, allocations: 0 / 0.9034 GB, free: 144.9 MB / 0.67 GB Notification: Performance of Templates: time 0.05941/1.146, allocations: 45.35 MB / 0.9477 GB, free: 100.1 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.00602150335908]