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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009379/0.000938, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6888/0.6888, allocations: 132.3 MB / 423.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 12 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 81.56 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09201/0.4341, allocations: 110.1 MB / 0.6913 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.4584, allocations: 20.09 MB / 0.7109 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.4611, allocations: 95.31 kB / 0.711 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.4635, allocations: 1.033 MB / 0.712 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007168/0.4707, allocations: 3.378 MB / 0.7153 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005588/0.4763, allocations: 2.864 MB / 0.7181 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00851/0.4848, allocations: 9.521 MB / 0.7274 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.4872, allocations: 2.082 MB / 0.7295 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.4907, allocations: 2.313 MB / 0.7317 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.4929, allocations: 2.037 MB / 0.7337 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.4931, allocations: 92 kB / 0.7338 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.4957, allocations: 1.446 MB / 0.7352 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004368/0.4962, allocations: 0.5093 MB / 0.7357 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.4973, allocations: 1.338 MB / 0.737 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.5008, allocations: 4.146 MB / 0.7411 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5008, allocations: 0 / 0.7411 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5008, allocations: 4 kB / 0.7411 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.672e-05/0.5008, allocations: 0 / 0.7411 GB, free: 14.89 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.003694/0.5045, allocations: 2.701 MB / 0.7437 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5046, allocations: 8.031 kB / 0.7437 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.5048, allocations: 215.5 kB / 0.7439 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005359/0.5053, allocations: 328.2 kB / 0.7442 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.5081, allocations: 2.147 MB / 0.7463 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.5082, allocations: 130.9 kB / 0.7464 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.5084, allocations: 164 kB / 0.7466 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.5108, allocations: 1.616 MB / 0.7482 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.5108, allocations: 3.938 kB / 0.7482 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.5109, allocations: 64 kB / 0.7482 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.511, allocations: 40 kB / 0.7483 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.5128, allocations: 1.163 MB / 0.7494 GB, free: 6.105 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.008217/0.521, allocations: 7.912 MB / 0.7571 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.5217, allocations: 481.9 kB / 0.7576 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.5222, allocations: 323 kB / 0.7579 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005136/0.5227, allocations: 0.7562 MB / 0.7587 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5227, allocations: 47.12 kB / 0.7587 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 1.713e-06/0.5228, allocations: 8 kB / 0.7587 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001568/0.5243, allocations: 0.9959 MB / 0.7597 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.5244, allocations: 59.97 kB / 0.7597 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.5269, allocations: 2.312 MB / 0.762 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.527, allocations: 49.7 kB / 0.762 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.5278, allocations: 1.149 MB / 0.7632 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.528, allocations: 220.9 kB / 0.7634 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.5281, allocations: 105.7 kB / 0.7635 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5282, allocations: 349.9 kB / 0.7638 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/0.5288, allocations: 366.4 kB / 0.7642 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.5296, allocations: 0.7502 MB / 0.7649 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.5309, allocations: 0.9902 MB / 0.7659 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5309, allocations: 4 kB / 0.7659 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001845/0.5328, allocations: 1.299 MB / 0.7671 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.533, allocations: 347.2 kB / 0.7675 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.533, allocations: 8 kB / 0.7675 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.533, allocations: 16 kB / 0.7675 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/0.5339, allocations: 259.6 kB / 0.7677 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.5339, allocations: 15.94 kB / 0.7677 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.5353, allocations: 254.1 kB / 0.768 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.5354, allocations: 55.98 kB / 0.768 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-06/0.5354, allocations: 4 kB / 0.768 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001527/0.5369, allocations: 1.031 MB / 0.7691 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.537, allocations: 8 kB / 0.7691 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.537, allocations: 12 kB / 0.7691 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.5378, allocations: 255.6 kB / 0.7693 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.5378, allocations: 15.94 kB / 0.7693 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.539, allocations: 230.9 kB / 0.7695 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.5391, allocations: 51.98 kB / 0.7696 GB, free: 292 kB / 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.0006584/0.5398, allocations: 0.5749 MB / 0.7702 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.54, allocations: 237 kB / 0.7704 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.5415, allocations: 0.8966 MB / 0.7713 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5415, allocations: 8 kB / 0.7713 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.5415, allocations: 3.984 kB / 0.7713 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009015/0.5424, allocations: 0.697 MB / 0.772 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.5455, allocations: 2.578 MB / 0.7745 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5455, allocations: 0 / 0.7745 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.546, allocations: 127.9 kB / 0.7746 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.546, allocations: 7.938 kB / 0.7746 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.546, allocations: 23.92 kB / 0.7746 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.546, allocations: 0 / 0.7746 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.546, allocations: 4.281 kB / 0.7746 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.5477, allocations: 1.341 MB / 0.7759 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.5483, allocations: 457.9 kB / 0.7764 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.5485, allocations: 12 kB / 0.7764 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5495, allocations: 115.7 kB / 0.7765 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.5496, allocations: 48.38 kB / 0.7765 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.5496, allocations: 39.91 kB / 0.7766 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001751/0.5514, allocations: 1.55 MB / 0.7781 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5514, allocations: 0 / 0.7781 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001984/0.5534, allocations: 1.103 MB / 0.7792 GB, free: 6.301 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.003131/0.5565, allocations: 2.502 MB / 0.7816 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.5584, allocations: 1.369 MB / 0.7829 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5585, allocations: 0 / 0.7829 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.5589, allocations: 336.3 kB / 0.7833 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0059/0.5648, allocations: 1.383 MB / 0.7846 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02524/0.5901, allocations: 18.15 MB / 0.8024 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009727/0.5911, allocations: 1.586 MB / 0.8039 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001612/0.5927, allocations: 0.4906 MB / 0.8044 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.5937, allocations: 0.9678 MB / 0.8053 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of SimCode: time 6.32e-07/0.5937, allocations: 0 / 0.8053 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.04/2.634, allocations: 63.57 MB / 0.8674 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/2.634, allocations: 240.9 kB / 0.8676 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/5.991, allocations: 4.062 kB / 0.8676 GB, free: 176.6 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)