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.00671/0.00671, allocations: 96.19 kB / 15.87 MB, free: 6.289 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.001154/0.001154, allocations: 204.3 kB / 16.79 MB, free: 6.215 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.462/1.462, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 60.12 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1955, allocations: 80.93 MB / 0.5844 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4482/0.6438, allocations: 111.9 MB / 0.6936 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03732/0.6812, allocations: 20.29 MB / 0.7134 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006697/0.688, allocations: 104.2 kB / 0.7135 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00572/0.6937, allocations: 1.035 MB / 0.7146 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.7083, allocations: 3.384 MB / 0.7179 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.7186, allocations: 2.837 MB / 0.7206 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01685/0.7355, allocations: 9.518 MB / 0.7299 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004896/0.7404, allocations: 2.142 MB / 0.732 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007576/0.748, allocations: 2.394 MB / 0.7344 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/0.7536, allocations: 2.142 MB / 0.7364 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.7547, allocations: 120 kB / 0.7366 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0058/0.7605, allocations: 1.466 MB / 0.738 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.7615, allocations: 0.5717 MB / 0.7385 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003051/0.7646, allocations: 1.371 MB / 0.7399 GB, free: 468 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.7699, allocations: 3.395 MB / 0.7432 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.7699, allocations: 0 / 0.7432 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7699, allocations: 0 / 0.7432 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.23e-05/0.77, allocations: 4 kB / 0.7432 GB, free: 13.05 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.006478/0.7765, allocations: 3.225 MB / 0.7464 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7766, allocations: 12.03 kB / 0.7464 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009522/0.7775, allocations: 324.2 kB / 0.7467 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.7815, allocations: 2.148 MB / 0.7488 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/0.7816, allocations: 127 kB / 0.7489 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.7819, allocations: 171.9 kB / 0.7491 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.7848, allocations: 1.612 MB / 0.7506 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.7848, allocations: 0 / 0.7506 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.785, allocations: 64 kB / 0.7507 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/0.785, allocations: 43.94 kB / 0.7507 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.7872, allocations: 1.151 MB / 0.7519 GB, free: 3.98 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.0124/0.7996, allocations: 7.873 MB / 0.7595 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/0.8005, allocations: 485.8 kB / 0.76 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.801, allocations: 323 kB / 0.7603 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.8017, allocations: 0.7524 MB / 0.7611 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.8018, allocations: 39.12 kB / 0.7611 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.727e-06/0.8018, allocations: 0 / 0.7611 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002371/0.8041, allocations: 0.9997 MB / 0.7621 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.8042, allocations: 55.97 kB / 0.7621 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.8079, allocations: 2.312 MB / 0.7644 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.8082, allocations: 49.7 kB / 0.7644 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.8094, allocations: 1.138 MB / 0.7655 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.8097, allocations: 220.9 kB / 0.7657 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.8102, allocations: 262.6 kB / 0.766 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8104, allocations: 345.9 kB / 0.7663 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007566/0.8111, allocations: 365.9 kB / 0.7667 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.8122, allocations: 0.7463 MB / 0.7674 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.8139, allocations: 0.9862 MB / 0.7684 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.8139, allocations: 7.938 kB / 0.7684 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002759/0.8167, allocations: 1.295 MB / 0.7696 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.8167, allocations: 10.5 kB / 0.7697 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.8167, allocations: 8 kB / 0.7697 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.8168, allocations: 12 kB / 0.7697 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.8178, allocations: 255.6 kB / 0.7699 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.8178, allocations: 15.94 kB / 0.7699 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.8199, allocations: 250.6 kB / 0.7702 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.8201, allocations: 51.98 kB / 0.7702 GB, free: 148 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001623/0.8217, allocations: 0.7602 MB / 0.771 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009625/0.8227, allocations: 0.7387 MB / 0.7717 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.824, allocations: 0.96 MB / 0.7726 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.122e-06/0.8241, allocations: 4 kB / 0.7726 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002617/0.8267, allocations: 1.258 MB / 0.7739 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.8267, allocations: 12 kB / 0.7739 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.8267, allocations: 8.062 kB / 0.7739 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.8268, allocations: 20.03 kB / 0.7739 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009696/0.8277, allocations: 247.6 kB / 0.7741 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/0.8278, allocations: 15.94 kB / 0.7741 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.83, allocations: 187.1 kB / 0.7743 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.8301, allocations: 51.98 kB / 0.7744 GB, free: 11.6 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.0003945/0.8305, allocations: 255.9 kB / 0.7746 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/0.8313, allocations: 233 kB / 0.7748 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.8335, allocations: 0.8887 MB / 0.7757 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.8336, allocations: 11.98 kB / 0.7757 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8336, allocations: 0 / 0.7757 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.8347, allocations: 0.6814 MB / 0.7764 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005639/0.8403, allocations: 2.574 MB / 0.7789 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8403, allocations: 0 / 0.7789 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.8409, allocations: 123.9 kB / 0.779 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.8409, allocations: 4 kB / 0.779 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.841, allocations: 23.98 kB / 0.779 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.841, allocations: 3.938 kB / 0.779 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8411, allocations: 4 kB / 0.779 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.8436, allocations: 1.313 MB / 0.7803 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.845, allocations: 417.9 kB / 0.7807 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/0.8456, allocations: 16 kB / 0.7807 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.8473, allocations: 107.7 kB / 0.7808 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.8474, allocations: 52.38 kB / 0.7809 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.8476, allocations: 31.97 kB / 0.7809 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003387/0.851, allocations: 1.55 MB / 0.7824 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.851, allocations: 0 / 0.7824 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004617/0.8556, allocations: 1.107 MB / 0.7835 GB, free: 2.051 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.002203/0.8578, allocations: 0.7331 MB / 0.7842 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003343/0.8612, allocations: 1.359 MB / 0.7856 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.8612, allocations: 4 kB / 0.7856 GB, free: 108 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.8619, allocations: 323 kB / 0.7859 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.007989/0.8699, allocations: 1.379 MB / 0.7872 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008988/0.8789, allocations: 4.59 MB / 0.7917 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.8808, allocations: 1.586 MB / 0.7933 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/0.8817, allocations: 191.3 kB / 0.7934 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of SimCode: time 1.603e-06/0.8817, allocations: 0 / 0.7934 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.07201/0.9537, allocations: 39.53 MB / 0.832 GB, free: 0.7461 MB / 0.6387 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)