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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_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.001591/0.001592, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001135/0.001135, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8928/0.8928, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.22 kB / 0.505 GB, free: 5.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1443, allocations: 80.93 MB / 0.584 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3158/0.4601, allocations: 111.6 MB / 0.693 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02723/0.4874, allocations: 20.08 MB / 0.7126 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003942/0.4913, allocations: 100.2 kB / 0.7127 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.4948, allocations: 1.102 MB / 0.7138 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.506, allocations: 3.422 MB / 0.7171 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007527/0.5135, allocations: 2.862 MB / 0.7199 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009797/0.5233, allocations: 7.255 MB / 0.727 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003691/0.527, allocations: 2.531 MB / 0.7295 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.5338, allocations: 2.817 MB / 0.7322 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/0.5377, allocations: 2.202 MB / 0.7344 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007326/0.5384, allocations: 253.4 kB / 0.7346 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.5428, allocations: 1.653 MB / 0.7362 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.5438, allocations: 0.7045 MB / 0.7369 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.5467, allocations: 1.508 MB / 0.7384 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005783/0.5525, allocations: 4.362 MB / 0.7427 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5525, allocations: 0 / 0.7427 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5525, allocations: 0 / 0.7427 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.901e-05/0.5526, allocations: 0 / 0.7427 GB, free: 13.18 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.004866/0.5575, allocations: 3.222 MB / 0.7458 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5575, allocations: 8.031 kB / 0.7458 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.5578, allocations: 215.5 kB / 0.746 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007016/0.5585, allocations: 328.2 kB / 0.7463 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.5616, allocations: 2.157 MB / 0.7484 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.5617, allocations: 127 kB / 0.7486 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.5619, allocations: 164 kB / 0.7487 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.5645, allocations: 1.604 MB / 0.7503 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.5646, allocations: 3.938 kB / 0.7503 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.5647, allocations: 79.91 kB / 0.7504 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.5648, allocations: 40 kB / 0.7504 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5667, allocations: 1.147 MB / 0.7515 GB, free: 3.887 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.009863/0.5766, allocations: 7.885 MB / 0.7592 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.5774, allocations: 470 kB / 0.7597 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.5779, allocations: 325.6 kB / 0.76 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006189/0.5786, allocations: 0.7602 MB / 0.7607 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5786, allocations: 47.06 kB / 0.7608 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.855e-06/0.5786, allocations: 0 / 0.7608 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001952/0.5806, allocations: 0.9919 MB / 0.7617 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.5806, allocations: 59.97 kB / 0.7618 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.5834, allocations: 2.312 MB / 0.764 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.5835, allocations: 49.7 kB / 0.7641 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/0.5845, allocations: 1.145 MB / 0.7652 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.5847, allocations: 213 kB / 0.7654 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/0.585, allocations: 254.6 kB / 0.7657 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5851, allocations: 349.9 kB / 0.766 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.5858, allocations: 361.9 kB / 0.7663 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008895/0.5867, allocations: 0.7502 MB / 0.7671 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.5881, allocations: 0.9862 MB / 0.768 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5881, allocations: 0 / 0.768 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002203/0.5903, allocations: 1.288 MB / 0.7693 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5903, allocations: 15.98 kB / 0.7693 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5904, allocations: 12.09 kB / 0.7693 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.5904, allocations: 12 kB / 0.7693 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.5914, allocations: 255.6 kB / 0.7696 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.5914, allocations: 23.92 kB / 0.7696 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.5931, allocations: 246.2 kB / 0.7698 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.5932, allocations: 55.98 kB / 0.7699 GB, free: 48 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001251/0.5944, allocations: 0.7563 MB / 0.7706 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008831/0.5953, allocations: 0.7349 MB / 0.7713 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/0.5966, allocations: 0.9561 MB / 0.7723 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.5966, allocations: 0 / 0.7723 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002066/0.5987, allocations: 1.266 MB / 0.7735 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5987, allocations: 9.406 kB / 0.7735 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5987, allocations: 8 kB / 0.7735 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5988, allocations: 16 kB / 0.7735 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/0.5997, allocations: 251.6 kB / 0.7738 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.5997, allocations: 19.92 kB / 0.7738 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.6013, allocations: 187.5 kB / 0.774 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/0.6014, allocations: 55.98 kB / 0.774 GB, free: 11.51 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.0002765/0.6017, allocations: 255.8 kB / 0.7743 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.602, allocations: 229.1 kB / 0.7745 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.6037, allocations: 0.8877 MB / 0.7754 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6038, allocations: 4 kB / 0.7754 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6038, allocations: 4 kB / 0.7754 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.6048, allocations: 0.6891 MB / 0.776 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.6084, allocations: 2.566 MB / 0.7785 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.6085, allocations: 4 kB / 0.7785 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.609, allocations: 132 kB / 0.7787 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.609, allocations: 4 kB / 0.7787 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.6091, allocations: 12 kB / 0.7787 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6091, allocations: 4 kB / 0.7787 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6091, allocations: 7.938 kB / 0.7787 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.611, allocations: 1.313 MB / 0.78 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.6116, allocations: 417.9 kB / 0.7804 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.6119, allocations: 12 kB / 0.7804 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.613, allocations: 123.6 kB / 0.7805 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.6131, allocations: 40.45 kB / 0.7806 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.6132, allocations: 31.97 kB / 0.7806 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001933/0.6151, allocations: 1.554 MB / 0.7821 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6151, allocations: 4 kB / 0.7821 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002382/0.6175, allocations: 1.099 MB / 0.7832 GB, free: 1.957 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.003858/0.6214, allocations: 2.491 MB / 0.7856 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002686/0.6241, allocations: 1.444 MB / 0.787 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6241, allocations: 0 / 0.787 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.6246, allocations: 332.4 kB / 0.7873 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005275/0.6299, allocations: 1.392 MB / 0.7887 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/0.6585, allocations: 18.06 MB / 0.8063 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.6596, allocations: 1.59 MB / 0.8079 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002042/0.6617, allocations: 0.4908 MB / 0.8084 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.6629, allocations: 0.964 MB / 0.8093 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of SimCode: time 6.42e-07/0.6629, allocations: 0 / 0.8093 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3077/0.9706, allocations: 65.06 MB / 0.8728 GB, free: 210 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.9707, allocations: 239.6 kB / 0.8731 GB, free: 209.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/4.452, allocations: 2.672 kB / 0.8731 GB, free: 209.7 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)