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.0008819/0.0008818, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006548/0.006548, allocations: 171 kB / 16.26 MB, free: 6.613 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.792/0.792, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 12 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5451, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1135/0.6586, allocations: 110.1 MB / 0.6912 GB, free: 2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0353/0.694, allocations: 20.09 MB / 0.7109 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00668/0.7007, allocations: 95.31 kB / 0.7109 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00529/0.706, allocations: 1.033 MB / 0.712 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.7195, allocations: 3.382 MB / 0.7153 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.7296, allocations: 2.846 MB / 0.718 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01396/0.7436, allocations: 9.513 MB / 0.7273 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006235/0.7499, allocations: 2.082 MB / 0.7294 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007482/0.7574, allocations: 2.325 MB / 0.7316 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005175/0.7626, allocations: 2.041 MB / 0.7336 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.764, allocations: 88 kB / 0.7337 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.7698, allocations: 1.45 MB / 0.7351 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001599/0.7714, allocations: 0.5093 MB / 0.7356 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003499/0.7749, allocations: 1.33 MB / 0.7369 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006735/0.7817, allocations: 4.162 MB / 0.741 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.7817, allocations: 0 / 0.741 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7817, allocations: 0 / 0.741 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.782e-05/0.7818, allocations: 0 / 0.741 GB, free: 14.9 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.005565/0.7874, allocations: 2.689 MB / 0.7436 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.7875, allocations: 12.03 kB / 0.7436 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/0.7883, allocations: 328.2 kB / 0.7439 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.7923, allocations: 2.147 MB / 0.746 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.7924, allocations: 127 kB / 0.7462 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.7927, allocations: 164 kB / 0.7463 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.7959, allocations: 1.619 MB / 0.7479 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.7959, allocations: 4 kB / 0.7479 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.7961, allocations: 63.94 kB / 0.748 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/0.7962, allocations: 40 kB / 0.748 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.7983, allocations: 1.163 MB / 0.7491 GB, free: 6.352 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.01259/0.8109, allocations: 7.916 MB / 0.7569 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.8118, allocations: 481.8 kB / 0.7573 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.8124, allocations: 331 kB / 0.7576 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/0.8131, allocations: 0.7523 MB / 0.7584 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.8131, allocations: 43.12 kB / 0.7584 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.485e-06/0.8132, allocations: 4 kB / 0.7584 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002525/0.8157, allocations: 1.004 MB / 0.7594 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.8157, allocations: 59.97 kB / 0.7595 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.8192, allocations: 2.312 MB / 0.7617 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.8194, allocations: 45.7 kB / 0.7618 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.8204, allocations: 1.149 MB / 0.7629 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.8207, allocations: 224.9 kB / 0.7631 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.8209, allocations: 101.7 kB / 0.7632 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.8211, allocations: 353.9 kB / 0.7635 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.8218, allocations: 358.5 kB / 0.7639 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.8229, allocations: 0.7502 MB / 0.7646 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.8245, allocations: 0.9981 MB / 0.7656 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8245, allocations: 3.938 kB / 0.7656 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002625/0.8272, allocations: 1.299 MB / 0.7668 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003261/0.8275, allocations: 339.2 kB / 0.7672 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.8275, allocations: 11.98 kB / 0.7672 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.894e-05/0.8276, allocations: 16 kB / 0.7672 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8286, allocations: 255.6 kB / 0.7674 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.8286, allocations: 19.94 kB / 0.7675 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.8308, allocations: 254.1 kB / 0.7677 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.8309, allocations: 51.98 kB / 0.7677 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.831, allocations: 4 kB / 0.7678 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001849/0.8328, allocations: 1.031 MB / 0.7688 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.8328, allocations: 8 kB / 0.7688 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.8329, allocations: 16 kB / 0.7688 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.8338, allocations: 251.6 kB / 0.769 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.8338, allocations: 15.94 kB / 0.769 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.8359, allocations: 230.9 kB / 0.7693 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/0.836, allocations: 51.98 kB / 0.7693 GB, free: 0.5312 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.001276/0.8373, allocations: 0.5788 MB / 0.7699 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.8378, allocations: 241 kB / 0.7701 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.8397, allocations: 0.8929 MB / 0.771 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.8397, allocations: 4 kB / 0.771 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8397, allocations: 4 kB / 0.771 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.8407, allocations: 0.697 MB / 0.7717 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004275/0.845, allocations: 2.578 MB / 0.7742 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.845, allocations: 4.281 kB / 0.7742 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.8456, allocations: 123.9 kB / 0.7743 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.8456, allocations: 4 kB / 0.7743 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.8456, allocations: 27.92 kB / 0.7743 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.8457, allocations: 4 kB / 0.7743 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8457, allocations: 0 / 0.7743 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.8479, allocations: 1.345 MB / 0.7756 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/0.8488, allocations: 453.8 kB / 0.7761 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.849, allocations: 12 kB / 0.7761 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8501, allocations: 123.2 kB / 0.7762 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.8503, allocations: 40.45 kB / 0.7762 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.8503, allocations: 31.97 kB / 0.7763 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002369/0.8527, allocations: 1.554 MB / 0.7778 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8527, allocations: 0 / 0.7778 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002932/0.8557, allocations: 1.099 MB / 0.7789 GB, free: 6.559 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.001733/0.8574, allocations: 0.7363 MB / 0.7796 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.8601, allocations: 1.367 MB / 0.7809 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.8602, allocations: 4 kB / 0.7809 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.8607, allocations: 331 kB / 0.7812 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007209/0.8679, allocations: 1.378 MB / 0.7826 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/0.8748, allocations: 4.608 MB / 0.7871 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.876, allocations: 1.59 MB / 0.7886 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002319/0.8783, allocations: 0.4918 MB / 0.7891 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.8787, allocations: 171.4 kB / 0.7893 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of SimCode: time 1.452e-06/0.8787, allocations: 0 / 0.7893 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.4143/1.293, allocations: 44.95 MB / 0.8332 GB, free: 198.3 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)