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.00661/0.00661, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001342/0.001343, allocations: 194.6 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 135.6 MB / 426.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 67.8 kB / 0.5857 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1397, allocations: 81.03 MB / 0.6649 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3948/0.5346, allocations: 112.6 MB / 0.7749 GB, free: 21.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.5575, allocations: 20.21 MB / 0.7946 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/0.5613, allocations: 106.8 kB / 0.7947 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.5645, allocations: 1.283 MB / 0.7959 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008768/0.5733, allocations: 3.683 MB / 0.7995 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006341/0.5796, allocations: 3.115 MB / 0.8026 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007286/0.5869, allocations: 7.208 MB / 0.8096 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.5895, allocations: 2.58 MB / 0.8121 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/0.5939, allocations: 2.811 MB / 0.8149 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.5962, allocations: 2.13 MB / 0.817 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003775/0.5966, allocations: 258.2 kB / 0.8172 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.5997, allocations: 1.641 MB / 0.8188 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.6002, allocations: 0.6933 MB / 0.8195 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.6014, allocations: 1.512 MB / 0.821 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004193/0.6056, allocations: 4.423 MB / 0.8253 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6056, allocations: 0 / 0.8253 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6056, allocations: 0 / 0.8253 GB, free: 308 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.97e-05/0.6057, allocations: 0 / 0.8253 GB, free: 308 kB / 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.004821/0.6105, allocations: 3.321 MB / 0.8285 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6105, allocations: 9.109 kB / 0.8285 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002698/0.6108, allocations: 219.5 kB / 0.8288 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.6116, allocations: 345.9 kB / 0.8291 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.6153, allocations: 2.219 MB / 0.8312 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6154, allocations: 131 kB / 0.8314 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.6156, allocations: 172 kB / 0.8315 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.6184, allocations: 1.612 MB / 0.8331 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.6184, allocations: 0 / 0.8331 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.6186, allocations: 67.94 kB / 0.8332 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.6186, allocations: 40 kB / 0.8332 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.6207, allocations: 1.147 MB / 0.8343 GB, free: 7.734 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.01063/0.6314, allocations: 7.93 MB / 0.8421 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.6322, allocations: 473.9 kB / 0.8425 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.6327, allocations: 331.5 kB / 0.8428 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.6334, allocations: 0.7562 MB / 0.8436 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.6335, allocations: 39.12 kB / 0.8436 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.6335, allocations: 0 / 0.8436 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002089/0.6356, allocations: 1.005 MB / 0.8446 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.6356, allocations: 55.97 kB / 0.8447 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.6388, allocations: 2.339 MB / 0.8469 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.6389, allocations: 45.7 kB / 0.847 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.64, allocations: 1.163 MB / 0.8481 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.6402, allocations: 226.1 kB / 0.8483 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.6406, allocations: 262.5 kB / 0.8486 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6408, allocations: 353.9 kB / 0.8489 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.6415, allocations: 357.9 kB / 0.8493 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.6426, allocations: 0.7463 MB / 0.85 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.6441, allocations: 0.9863 MB / 0.851 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6441, allocations: 4 kB / 0.851 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002484/0.6466, allocations: 1.301 MB / 0.8522 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6467, allocations: 8 kB / 0.8522 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.6467, allocations: 8 kB / 0.8522 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.6467, allocations: 12 kB / 0.8523 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6477, allocations: 255.6 kB / 0.8525 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.6477, allocations: 19.94 kB / 0.8525 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.6492, allocations: 174.9 kB / 0.8527 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.6493, allocations: 55.98 kB / 0.8527 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00137/0.6507, allocations: 0.7602 MB / 0.8535 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001017/0.6517, allocations: 0.7463 MB / 0.8542 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001417/0.6531, allocations: 0.9369 MB / 0.8551 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/0.6532, allocations: 7.938 kB / 0.8551 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002296/0.6555, allocations: 1.283 MB / 0.8564 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6555, allocations: 8 kB / 0.8564 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6555, allocations: 11.94 kB / 0.8564 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6555, allocations: 16 kB / 0.8564 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.6564, allocations: 247.6 kB / 0.8567 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.6565, allocations: 20.47 kB / 0.8567 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.6579, allocations: 135.3 kB / 0.8568 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/0.658, allocations: 51.98 kB / 0.8569 GB, free: 15.35 MB / 0.6231 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.0002911/0.6583, allocations: 249.2 kB / 0.8571 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.6587, allocations: 250.4 kB / 0.8573 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.6605, allocations: 0.8897 MB / 0.8582 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.6605, allocations: 8 kB / 0.8582 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6605, allocations: 0 / 0.8582 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.6616, allocations: 0.6853 MB / 0.8589 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.6654, allocations: 2.586 MB / 0.8614 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6655, allocations: 4 kB / 0.8614 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.666, allocations: 128 kB / 0.8615 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.666, allocations: 7.938 kB / 0.8615 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.6661, allocations: 12 kB / 0.8615 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.6661, allocations: 7.938 kB / 0.8616 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6661, allocations: 3.938 kB / 0.8616 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.6682, allocations: 1.326 MB / 0.8629 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/0.6688, allocations: 423.3 kB / 0.8633 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.6691, allocations: 12 kB / 0.8633 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/0.67, allocations: 47.94 kB / 0.8633 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.6701, allocations: 52.38 kB / 0.8634 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.6702, allocations: 31.98 kB / 0.8634 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002216/0.6724, allocations: 1.566 MB / 0.8649 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6724, allocations: 0 / 0.8649 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002499/0.6749, allocations: 1.123 MB / 0.866 GB, free: 5.781 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.004332/0.6792, allocations: 2.526 MB / 0.8685 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00251/0.6817, allocations: 1.367 MB / 0.8698 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6818, allocations: 0 / 0.8698 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.6823, allocations: 323 kB / 0.8701 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005695/0.688, allocations: 1.39 MB / 0.8715 GB, free: 348 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/0.7103, allocations: 14.93 MB / 0.8861 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.7117, allocations: 1.597 MB / 0.8876 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001815/0.7135, allocations: 498.6 kB / 0.8881 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.7148, allocations: 0.9601 MB / 0.889 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.7148, allocations: 3.938 kB / 0.889 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/0.8323, allocations: 64.17 MB / 0.9517 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.95, allocations: 9.719 kB / 0.9517 GB, free: 14.18 MB / 0.7169 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)