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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001199/0.0012, allocations: 192.6 kB / 16.14 MB, free: 6.688 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8329/0.8329, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 58.88 kB / 0.5011 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4457, allocations: 80.21 MB / 0.5794 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1086/0.5544, allocations: 111.9 MB / 0.6887 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03367/0.5881, allocations: 20.29 MB / 0.7085 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004408/0.5926, allocations: 99.31 kB / 0.7086 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003535/0.5961, allocations: 1.041 MB / 0.7097 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00993/0.6061, allocations: 3.378 MB / 0.7129 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007755/0.6139, allocations: 2.844 MB / 0.7157 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.6263, allocations: 9.519 MB / 0.725 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004117/0.6305, allocations: 2.14 MB / 0.7271 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00609/0.6366, allocations: 2.399 MB / 0.7295 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.6406, allocations: 2.131 MB / 0.7315 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000674/0.6413, allocations: 124 kB / 0.7317 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004039/0.6453, allocations: 1.474 MB / 0.7331 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008183/0.6462, allocations: 0.56 MB / 0.7336 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.649, allocations: 1.375 MB / 0.735 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007809/0.6569, allocations: 4.248 MB / 0.7391 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6569, allocations: 0 / 0.7391 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6569, allocations: 0 / 0.7391 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.905e-05/0.657, allocations: 0 / 0.7391 GB, free: 13.73 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.006725/0.6637, allocations: 3.233 MB / 0.7423 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.6638, allocations: 12.03 kB / 0.7423 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.6647, allocations: 316.3 kB / 0.7426 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.6685, allocations: 2.154 MB / 0.7447 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.21e-05/0.6686, allocations: 123 kB / 0.7448 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.6688, allocations: 172 kB / 0.745 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.6717, allocations: 1.616 MB / 0.7466 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.411e-05/0.6718, allocations: 4 kB / 0.7466 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.6719, allocations: 63.94 kB / 0.7466 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.672, allocations: 40 kB / 0.7467 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.6741, allocations: 1.147 MB / 0.7478 GB, free: 4.652 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.01077/0.6849, allocations: 7.885 MB / 0.7555 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.6857, allocations: 477.8 kB / 0.7559 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.6863, allocations: 323 kB / 0.7563 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.6869, allocations: 0.7563 MB / 0.757 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.687, allocations: 43.12 kB / 0.757 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.687, allocations: 0 / 0.757 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002145/0.6891, allocations: 0.9958 MB / 0.758 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6892, allocations: 55.97 kB / 0.7581 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.6925, allocations: 2.308 MB / 0.7603 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.6927, allocations: 49.7 kB / 0.7604 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.6937, allocations: 1.153 MB / 0.7615 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.694, allocations: 209 kB / 0.7617 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.6944, allocations: 262.5 kB / 0.7619 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.6947, allocations: 353.9 kB / 0.7623 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007386/0.6954, allocations: 365.9 kB / 0.7626 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.6964, allocations: 0.7385 MB / 0.7633 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.6981, allocations: 0.9824 MB / 0.7643 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.6981, allocations: 4 kB / 0.7643 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002931/0.701, allocations: 1.299 MB / 0.7656 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.7011, allocations: 8 kB / 0.7656 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.7011, allocations: 8 kB / 0.7656 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.7011, allocations: 12 kB / 0.7656 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7022, allocations: 251.6 kB / 0.7658 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.7022, allocations: 19.92 kB / 0.7659 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.7042, allocations: 254.3 kB / 0.7661 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.432e-05/0.7043, allocations: 51.98 kB / 0.7662 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001579/0.7059, allocations: 0.7563 MB / 0.7669 GB, free: 40 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009817/0.7069, allocations: 0.7389 MB / 0.7676 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001349/0.7083, allocations: 0.9483 MB / 0.7685 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.448e-06/0.7083, allocations: 15.88 kB / 0.7686 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002499/0.7108, allocations: 1.25 MB / 0.7698 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7108, allocations: 8 kB / 0.7698 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.7109, allocations: 8 kB / 0.7698 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.7109, allocations: 16.8 kB / 0.7698 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.7118, allocations: 259.5 kB / 0.7701 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.7118, allocations: 19.94 kB / 0.7701 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.7137, allocations: 187 kB / 0.7703 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.7138, allocations: 47.98 kB / 0.7703 GB, free: 12.26 MB / 0.6075 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.0003376/0.7141, allocations: 251.9 kB / 0.7705 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.7146, allocations: 233.1 kB / 0.7708 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.7163, allocations: 0.8847 MB / 0.7716 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.7164, allocations: 8 kB / 0.7716 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.7164, allocations: 7.922 kB / 0.7716 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009897/0.7174, allocations: 0.6853 MB / 0.7723 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.7216, allocations: 2.574 MB / 0.7748 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7216, allocations: 0 / 0.7748 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.7221, allocations: 123.9 kB / 0.7749 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.7221, allocations: 4 kB / 0.7749 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.7222, allocations: 20 kB / 0.775 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.7222, allocations: 7.984 kB / 0.775 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7222, allocations: 7.875 kB / 0.775 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.7244, allocations: 1.313 MB / 0.7763 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/0.7253, allocations: 410 kB / 0.7767 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.7256, allocations: 12 kB / 0.7767 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.7268, allocations: 119.7 kB / 0.7768 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7269, allocations: 44.44 kB / 0.7768 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.7269, allocations: 27.98 kB / 0.7768 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002165/0.7291, allocations: 1.558 MB / 0.7784 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7291, allocations: 0 / 0.7784 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002747/0.7319, allocations: 1.103 MB / 0.7794 GB, free: 2.715 MB / 0.6075 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.001595/0.7335, allocations: 0.7269 MB / 0.7802 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002476/0.736, allocations: 1.352 MB / 0.7815 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.736, allocations: 4 kB / 0.7815 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.7365, allocations: 331 kB / 0.7818 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006003/0.7425, allocations: 1.384 MB / 0.7831 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.7486, allocations: 4.531 MB / 0.7876 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.7497, allocations: 1.586 MB / 0.7891 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002167/0.7519, allocations: 0.4913 MB / 0.7896 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.7523, allocations: 175.3 kB / 0.7898 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.7523, allocations: 3.938 kB / 0.7898 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of Templates: time 0.3646/1.117, allocations: 45.16 MB / 0.8339 GB, free: 201 MB / 0.6387 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)