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.005727/0.005727, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001251/0.001252, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8254/0.8254, allocations: 135.2 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 59.78 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1958, allocations: 80.93 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4804/0.6763, allocations: 112.6 MB / 0.7746 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.033/0.7093, allocations: 20.22 MB / 0.7944 GB, free: 19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004664/0.714, allocations: 107.5 kB / 0.7945 GB, free: 19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.7174, allocations: 1.31 MB / 0.7958 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.7276, allocations: 3.865 MB / 0.7995 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007911/0.7356, allocations: 3.121 MB / 0.8026 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009116/0.7447, allocations: 7.221 MB / 0.8096 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.7477, allocations: 2.572 MB / 0.8121 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006578/0.7543, allocations: 2.911 MB / 0.815 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004415/0.7587, allocations: 2.122 MB / 0.8171 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.7599, allocations: 253.8 kB / 0.8173 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006842/0.7668, allocations: 1.644 MB / 0.8189 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.7682, allocations: 0.6947 MB / 0.8196 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.7706, allocations: 1.517 MB / 0.8211 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006886/0.7775, allocations: 4.396 MB / 0.8254 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.7776, allocations: 2.969 kB / 0.8254 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7776, allocations: 0 / 0.8254 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.554e-05/0.7776, allocations: 0 / 0.8254 GB, free: 0.707 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.00536/0.783, allocations: 3.233 MB / 0.8285 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.7831, allocations: 9.109 kB / 0.8285 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009435/0.784, allocations: 328.2 kB / 0.8288 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.788, allocations: 2.205 MB / 0.831 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/0.7881, allocations: 123 kB / 0.8311 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.7884, allocations: 164 kB / 0.8313 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.7912, allocations: 1.608 MB / 0.8328 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.7913, allocations: 3.938 kB / 0.8328 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.7914, allocations: 67.94 kB / 0.8329 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.7915, allocations: 44 kB / 0.8329 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.7935, allocations: 1.143 MB / 0.8341 GB, free: 8.477 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.01099/0.8045, allocations: 7.918 MB / 0.8418 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.8053, allocations: 478 kB / 0.8423 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.8058, allocations: 321.1 kB / 0.8426 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/0.8064, allocations: 0.7524 MB / 0.8433 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.8065, allocations: 43.12 kB / 0.8433 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.8065, allocations: 0 / 0.8433 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002077/0.8086, allocations: 0.9881 MB / 0.8443 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.8086, allocations: 59.97 kB / 0.8444 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.8117, allocations: 2.335 MB / 0.8466 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.8118, allocations: 49.7 kB / 0.8467 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/0.8128, allocations: 1.153 MB / 0.8478 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.813, allocations: 209 kB / 0.848 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.8133, allocations: 262.5 kB / 0.8483 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.8136, allocations: 349.9 kB / 0.8486 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.8142, allocations: 361.9 kB / 0.8489 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009448/0.8152, allocations: 0.7424 MB / 0.8497 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.8167, allocations: 0.9823 MB / 0.8506 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.8167, allocations: 4 kB / 0.8506 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002528/0.8192, allocations: 1.295 MB / 0.8519 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.8193, allocations: 8 kB / 0.8519 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.8193, allocations: 8 kB / 0.8519 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/0.8193, allocations: 12 kB / 0.8519 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.8204, allocations: 259.5 kB / 0.8522 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.8204, allocations: 15.94 kB / 0.8522 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.822, allocations: 178.6 kB / 0.8524 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.8221, allocations: 47.98 kB / 0.8524 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001356/0.8234, allocations: 0.7641 MB / 0.8531 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000977/0.8244, allocations: 0.7347 MB / 0.8539 GB, free: 3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001573/0.826, allocations: 0.9447 MB / 0.8548 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.826, allocations: 0 / 0.8548 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002651/0.8287, allocations: 1.269 MB / 0.856 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8287, allocations: 8 kB / 0.856 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.8287, allocations: 8 kB / 0.856 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8287, allocations: 23.92 kB / 0.8561 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/0.8297, allocations: 248.3 kB / 0.8563 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.8297, allocations: 15.94 kB / 0.8563 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.8315, allocations: 127.2 kB / 0.8564 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/0.8316, allocations: 51.98 kB / 0.8565 GB, free: 192 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.0004268/0.832, allocations: 251.9 kB / 0.8567 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.8324, allocations: 241 kB / 0.857 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.8344, allocations: 0.8819 MB / 0.8578 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.8344, allocations: 4.281 kB / 0.8578 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8344, allocations: 4 kB / 0.8578 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.8355, allocations: 0.6931 MB / 0.8585 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.8399, allocations: 2.578 MB / 0.861 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.8399, allocations: 3.984 kB / 0.861 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.8405, allocations: 135.8 kB / 0.8612 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.8405, allocations: 4 kB / 0.8612 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.8405, allocations: 19.94 kB / 0.8612 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.8405, allocations: 0 / 0.8612 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8406, allocations: 7.938 kB / 0.8612 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.843, allocations: 1.313 MB / 0.8625 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009966/0.8441, allocations: 418 kB / 0.8629 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.8444, allocations: 12 kB / 0.8629 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.8453, allocations: 47.84 kB / 0.8629 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.8455, allocations: 44.45 kB / 0.863 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.8455, allocations: 35.97 kB / 0.863 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002425/0.848, allocations: 1.562 MB / 0.8645 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.848, allocations: 0 / 0.8645 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002941/0.8509, allocations: 1.111 MB / 0.8656 GB, free: 6.656 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.001676/0.8526, allocations: 0.7552 MB / 0.8663 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.8553, allocations: 1.358 MB / 0.8677 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8553, allocations: 4 kB / 0.8677 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.8559, allocations: 324.2 kB / 0.868 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005989/0.8619, allocations: 1.39 MB / 0.8693 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/0.8678, allocations: 3.664 MB / 0.8729 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.869, allocations: 1.594 MB / 0.8745 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001858/0.8708, allocations: 490.6 kB / 0.8749 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.8712, allocations: 175.4 kB / 0.8751 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.8712, allocations: 0 / 0.8751 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of Templates: time 0.07118/0.9424, allocations: 44.72 MB / 0.9188 GB, free: 0.7227 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)