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.001066/0.001066, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.0009446/0.0009445, allocations: 187 kB / 17.34 MB, free: 5.719 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7438/0.7438, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 69.69 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1321, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3963/0.5285, allocations: 112.6 MB / 0.7753 GB, free: 21.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.5524, allocations: 20.22 MB / 0.795 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.5565, allocations: 107.2 kB / 0.7951 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.5597, allocations: 1.275 MB / 0.7964 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009239/0.569, allocations: 3.677 MB / 0.8 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006573/0.5756, allocations: 3.116 MB / 0.803 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007927/0.5835, allocations: 7.212 MB / 0.8101 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.5863, allocations: 2.576 MB / 0.8126 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/0.5912, allocations: 2.885 MB / 0.8154 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.5938, allocations: 2.128 MB / 0.8175 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004036/0.5942, allocations: 259.6 kB / 0.8177 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.5974, allocations: 1.647 MB / 0.8193 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.5979, allocations: 0.6992 MB / 0.82 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.5992, allocations: 1.504 MB / 0.8215 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004343/0.6035, allocations: 4.403 MB / 0.8258 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6036, allocations: 0 / 0.8258 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6036, allocations: 0 / 0.8258 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.089e-05/0.6036, allocations: 0 / 0.8258 GB, free: 0.7148 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.004476/0.6081, allocations: 3.227 MB / 0.8289 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.6081, allocations: 11.36 kB / 0.8289 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006719/0.6088, allocations: 333.9 kB / 0.8293 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.6122, allocations: 2.191 MB / 0.8314 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.6123, allocations: 123 kB / 0.8315 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.6125, allocations: 180 kB / 0.8317 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.6148, allocations: 1.608 MB / 0.8333 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.6149, allocations: 4 kB / 0.8333 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.615, allocations: 67.94 kB / 0.8333 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.615, allocations: 36 kB / 0.8334 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.6169, allocations: 1.147 MB / 0.8345 GB, free: 8.719 MB / 0.5919 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.009632/0.6265, allocations: 7.918 MB / 0.8422 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.6272, allocations: 470 kB / 0.8427 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.6277, allocations: 325.9 kB / 0.843 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.6283, allocations: 0.7563 MB / 0.8437 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.6283, allocations: 47.06 kB / 0.8438 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.265e-06/0.6283, allocations: 0 / 0.8438 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.001861/0.6302, allocations: 0.9881 MB / 0.8447 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.6302, allocations: 55.97 kB / 0.8448 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.6329, allocations: 2.335 MB / 0.8471 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6331, allocations: 49.64 kB / 0.8471 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008761/0.6339, allocations: 1.157 MB / 0.8482 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.6342, allocations: 209 kB / 0.8484 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/0.6345, allocations: 258.5 kB / 0.8487 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6346, allocations: 349.9 kB / 0.849 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006122/0.6352, allocations: 357.9 kB / 0.8494 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008881/0.6361, allocations: 0.7502 MB / 0.8501 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.6375, allocations: 0.9862 MB / 0.8511 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.6375, allocations: 0 / 0.8511 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002195/0.6397, allocations: 1.283 MB / 0.8523 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6397, allocations: 12 kB / 0.8523 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6397, allocations: 8 kB / 0.8523 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.6398, allocations: 15.98 kB / 0.8523 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.6407, allocations: 260.1 kB / 0.8526 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.97e-05/0.6407, allocations: 23.94 kB / 0.8526 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.6422, allocations: 166.3 kB / 0.8528 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/0.6422, allocations: 55.98 kB / 0.8528 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001169/0.6434, allocations: 0.7563 MB / 0.8536 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008382/0.6443, allocations: 0.7463 MB / 0.8543 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001203/0.6455, allocations: 0.9487 MB / 0.8552 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.27e-05/0.6455, allocations: 4 kB / 0.8552 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002011/0.6475, allocations: 1.266 MB / 0.8565 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.6475, allocations: 8 kB / 0.8565 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6476, allocations: 8 kB / 0.8565 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.6476, allocations: 20.03 kB / 0.8565 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.6484, allocations: 243.6 kB / 0.8567 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.6484, allocations: 19.94 kB / 0.8567 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.6499, allocations: 127.1 kB / 0.8569 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.6499, allocations: 48 kB / 0.8569 GB, free: 436 kB / 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.0002586/0.6502, allocations: 255.9 kB / 0.8572 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/0.6506, allocations: 234.9 kB / 0.8574 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.6522, allocations: 0.8857 MB / 0.8582 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.6522, allocations: 11.98 kB / 0.8583 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6522, allocations: 0 / 0.8583 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009179/0.6531, allocations: 0.6775 MB / 0.8589 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.6569, allocations: 2.593 MB / 0.8614 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.6569, allocations: 0 / 0.8614 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.6574, allocations: 131.8 kB / 0.8616 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6575, allocations: 4 kB / 0.8616 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.6575, allocations: 12 kB / 0.8616 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.6575, allocations: 7.984 kB / 0.8616 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6575, allocations: 3.938 kB / 0.8616 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.6594, allocations: 1.306 MB / 0.8629 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/0.6602, allocations: 417.9 kB / 0.8633 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/0.6604, allocations: 19.92 kB / 0.8633 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.6614, allocations: 51.95 kB / 0.8633 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.6615, allocations: 44.44 kB / 0.8634 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.6615, allocations: 31.98 kB / 0.8634 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002048/0.6636, allocations: 1.566 MB / 0.8649 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6636, allocations: 0 / 0.8649 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002642/0.6663, allocations: 1.115 MB / 0.866 GB, free: 6.895 MB / 0.6231 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.00157/0.6678, allocations: 0.7473 MB / 0.8668 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.6701, allocations: 1.355 MB / 0.8681 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6701, allocations: 3.938 kB / 0.8681 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.6706, allocations: 327.4 kB / 0.8684 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/0.6755, allocations: 1.384 MB / 0.8698 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.681, allocations: 3.728 MB / 0.8734 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.6822, allocations: 1.59 MB / 0.8749 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.6827, allocations: 175.4 kB / 0.8751 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.6827, allocations: 0 / 0.8751 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.05057/0.7333, allocations: 39.78 MB / 0.914 GB, free: 6.141 MB / 0.67 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)