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.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001142/0.001142, allocations: 190 kB / 16.14 MB, free: 6.707 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.725/0.725, allocations: 132.2 MB / 422.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 64.72 kB / 0.5012 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3145, allocations: 80.2 MB / 0.5795 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09444/0.409, allocations: 111.9 MB / 0.6888 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.4341, allocations: 20.28 MB / 0.7086 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.4372, allocations: 99.31 kB / 0.7087 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.4398, allocations: 1.049 MB / 0.7097 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007362/0.4472, allocations: 3.381 MB / 0.713 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005675/0.4529, allocations: 2.844 MB / 0.7158 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008681/0.4616, allocations: 9.521 MB / 0.7251 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.464, allocations: 2.136 MB / 0.7272 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003642/0.4677, allocations: 2.392 MB / 0.7295 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.47, allocations: 2.139 MB / 0.7316 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.4702, allocations: 120 kB / 0.7317 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.473, allocations: 1.466 MB / 0.7332 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004938/0.4735, allocations: 0.5717 MB / 0.7337 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.4747, allocations: 1.375 MB / 0.7351 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00398/0.4787, allocations: 4.245 MB / 0.7392 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4787, allocations: 4 kB / 0.7392 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.61e-07/0.4787, allocations: 0 / 0.7392 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.4788, allocations: 0 / 0.7392 GB, free: 13.73 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.004222/0.483, allocations: 3.229 MB / 0.7424 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4831, allocations: 12.02 kB / 0.7424 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.4833, allocations: 219.5 kB / 0.7426 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006075/0.4839, allocations: 324.3 kB / 0.7429 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.4867, allocations: 2.153 MB / 0.745 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/0.4868, allocations: 123 kB / 0.7451 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.487, allocations: 168 kB / 0.7453 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.4893, allocations: 1.619 MB / 0.7469 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.4893, allocations: 3.938 kB / 0.7469 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.4894, allocations: 64 kB / 0.7469 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.4895, allocations: 36 kB / 0.747 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.4912, allocations: 1.147 MB / 0.7481 GB, free: 4.43 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.00809/0.4993, allocations: 7.881 MB / 0.7558 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.5, allocations: 481.8 kB / 0.7562 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.5005, allocations: 327 kB / 0.7565 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00051/0.501, allocations: 0.7563 MB / 0.7573 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.501, allocations: 39.12 kB / 0.7573 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 1.963e-06/0.501, allocations: 0 / 0.7573 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001566/0.5026, allocations: 0.9958 MB / 0.7583 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.5026, allocations: 59.97 kB / 0.7583 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.505, allocations: 2.308 MB / 0.7606 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.5051, allocations: 45.7 kB / 0.7606 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/0.5059, allocations: 1.149 MB / 0.7618 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.5061, allocations: 217 kB / 0.762 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.5064, allocations: 254.6 kB / 0.7622 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5065, allocations: 361.9 kB / 0.7626 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.5071, allocations: 357.9 kB / 0.7629 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.5079, allocations: 0.7451 MB / 0.7636 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.5092, allocations: 0.9863 MB / 0.7646 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5092, allocations: 0 / 0.7646 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001929/0.5111, allocations: 1.295 MB / 0.7659 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5112, allocations: 8 kB / 0.7659 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5112, allocations: 8 kB / 0.7659 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.5112, allocations: 16 kB / 0.7659 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/0.5121, allocations: 247.6 kB / 0.7661 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.5121, allocations: 23.92 kB / 0.7661 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.5135, allocations: 250.3 kB / 0.7664 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.5136, allocations: 55.92 kB / 0.7664 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001098/0.5147, allocations: 0.7641 MB / 0.7672 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008145/0.5155, allocations: 0.731 MB / 0.7679 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001194/0.5167, allocations: 0.96 MB / 0.7688 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.5168, allocations: 4 kB / 0.7688 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001834/0.5186, allocations: 1.25 MB / 0.7701 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5186, allocations: 8 kB / 0.7701 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5186, allocations: 8 kB / 0.7701 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5186, allocations: 20.75 kB / 0.7701 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/0.5195, allocations: 255.8 kB / 0.7703 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.5195, allocations: 19.92 kB / 0.7704 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5208, allocations: 187 kB / 0.7705 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/0.5209, allocations: 51.98 kB / 0.7706 GB, free: 12.05 MB / 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.0002084/0.5211, allocations: 247.9 kB / 0.7708 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.5214, allocations: 237 kB / 0.7711 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.5229, allocations: 0.8954 MB / 0.7719 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5229, allocations: 4 kB / 0.7719 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5229, allocations: 0 / 0.7719 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000922/0.5238, allocations: 0.6931 MB / 0.7726 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.527, allocations: 2.566 MB / 0.7751 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.527, allocations: 4 kB / 0.7751 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.5275, allocations: 123.9 kB / 0.7752 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5275, allocations: 4 kB / 0.7752 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.5276, allocations: 12 kB / 0.7752 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5276, allocations: 7.938 kB / 0.7753 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5276, allocations: 3.938 kB / 0.7753 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.5293, allocations: 1.317 MB / 0.7765 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.5298, allocations: 410 kB / 0.7769 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.53, allocations: 12 kB / 0.7769 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/0.531, allocations: 119.7 kB / 0.7771 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.5311, allocations: 52.5 kB / 0.7771 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.5312, allocations: 27.98 kB / 0.7771 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001723/0.5329, allocations: 1.55 MB / 0.7787 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5329, allocations: 3.938 kB / 0.7787 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002033/0.535, allocations: 1.103 MB / 0.7797 GB, free: 2.5 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.003176/0.5382, allocations: 2.5 MB / 0.7822 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.5401, allocations: 1.351 MB / 0.7835 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5401, allocations: 0 / 0.7835 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.5406, allocations: 327.7 kB / 0.7838 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/0.5457, allocations: 1.374 MB / 0.7851 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/0.5709, allocations: 18.05 MB / 0.8028 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009507/0.5718, allocations: 1.594 MB / 0.8043 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001576/0.5734, allocations: 0.4962 MB / 0.8048 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.5744, allocations: 0.9639 MB / 0.8058 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of SimCode: time 3.5e-07/0.5744, allocations: 0 / 0.8058 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.722/2.297, allocations: 64.14 MB / 0.8684 GB, free: 174.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/2.297, allocations: 236.2 kB / 0.8686 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.886/6.183, allocations: 0 / 0.8686 GB, free: 174.4 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)