Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_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.001007/0.001007, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 205.3 kB / 16.79 MB, free: 6.84 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.208/1.208, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6457/0.6457, allocations: 115.3 MB / 405.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.83 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 76.2 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.2946/0.4132, allocations: 111.9 MB / 0.6651 GB, free: 9.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02502/0.4382, allocations: 20.32 MB / 0.685 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/0.4418, allocations: 99.31 kB / 0.685 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.4445, allocations: 1.037 MB / 0.6861 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007316/0.4519, allocations: 3.382 MB / 0.6894 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00581/0.4577, allocations: 2.852 MB / 0.6921 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008297/0.466, allocations: 9.534 MB / 0.7015 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.4684, allocations: 2.142 MB / 0.7036 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.4721, allocations: 2.391 MB / 0.7059 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.4743, allocations: 2.139 MB / 0.708 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.4746, allocations: 120 kB / 0.7081 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.4773, allocations: 1.466 MB / 0.7095 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.4778, allocations: 0.5677 MB / 0.7101 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.479, allocations: 1.375 MB / 0.7114 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.4826, allocations: 4.252 MB / 0.7156 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4826, allocations: 0 / 0.7156 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.42e-07/0.4826, allocations: 4 kB / 0.7156 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.933e-05/0.4827, allocations: 0 / 0.7156 GB, free: 5.562 MB / 0.5294 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.004242/0.4869, allocations: 3.222 MB / 0.7187 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.487, allocations: 12.03 kB / 0.7187 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.4872, allocations: 215.7 kB / 0.7189 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006122/0.4878, allocations: 328.6 kB / 0.7193 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.4906, allocations: 2.155 MB / 0.7214 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.4907, allocations: 123 kB / 0.7215 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.4909, allocations: 167.9 kB / 0.7216 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.4932, allocations: 1.616 MB / 0.7232 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.4932, allocations: 3.938 kB / 0.7232 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4934, allocations: 64 kB / 0.7233 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.4934, allocations: 47.94 kB / 0.7233 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.4952, allocations: 1.147 MB / 0.7244 GB, free: 12.25 MB / 0.545 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.008227/0.5034, allocations: 7.877 MB / 0.7321 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.5041, allocations: 486.4 kB / 0.7326 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.5046, allocations: 319 kB / 0.7329 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.5051, allocations: 0.7524 MB / 0.7336 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5051, allocations: 47.12 kB / 0.7337 GB, free: 2.098 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.014e-06/0.5051, allocations: 4 kB / 0.7337 GB, free: 2.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001655/0.5068, allocations: 0.9842 MB / 0.7346 GB, free: 1.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.5068, allocations: 55.97 kB / 0.7347 GB, free: 1.039 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.5093, allocations: 2.32 MB / 0.737 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.5094, allocations: 49.7 kB / 0.737 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/0.5102, allocations: 1.149 MB / 0.7381 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.5103, allocations: 216.9 kB / 0.7383 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.5107, allocations: 262.6 kB / 0.7386 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5108, allocations: 345.9 kB / 0.7389 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.5114, allocations: 361.9 kB / 0.7393 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.5122, allocations: 0.7463 MB / 0.74 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.5135, allocations: 0.9824 MB / 0.741 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5135, allocations: 4 kB / 0.741 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001933/0.5154, allocations: 1.291 MB / 0.7422 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5154, allocations: 8 kB / 0.7422 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5155, allocations: 8 kB / 0.7422 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5155, allocations: 16.66 kB / 0.7423 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.5164, allocations: 247.6 kB / 0.7425 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.5164, allocations: 27.92 kB / 0.7425 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5178, allocations: 242.1 kB / 0.7427 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.5179, allocations: 55.97 kB / 0.7428 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001106/0.5191, allocations: 0.768 MB / 0.7435 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000829/0.5199, allocations: 0.7371 MB / 0.7443 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001188/0.5211, allocations: 0.9525 MB / 0.7452 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.5211, allocations: 4 kB / 0.7452 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001804/0.5229, allocations: 1.258 MB / 0.7464 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.5229, allocations: 12.22 kB / 0.7464 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5229, allocations: 8 kB / 0.7465 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.523, allocations: 16.03 kB / 0.7465 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008209/0.5238, allocations: 255.5 kB / 0.7467 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.5238, allocations: 19.94 kB / 0.7467 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.5251, allocations: 179.1 kB / 0.7469 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.5252, allocations: 51.98 kB / 0.747 GB, free: 3.875 MB / 0.5606 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.0002013/0.5254, allocations: 257.4 kB / 0.7472 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.5257, allocations: 233 kB / 0.7474 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.5272, allocations: 0.8936 MB / 0.7483 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5272, allocations: 4 kB / 0.7483 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5272, allocations: 4 kB / 0.7483 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000917/0.5281, allocations: 0.6852 MB / 0.749 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.5313, allocations: 2.57 MB / 0.7515 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5313, allocations: 4 kB / 0.7515 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.5318, allocations: 119.9 kB / 0.7516 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5318, allocations: 7.984 kB / 0.7516 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.5318, allocations: 12 kB / 0.7516 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5318, allocations: 4 kB / 0.7516 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5318, allocations: 8.094 kB / 0.7516 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5335, allocations: 1.313 MB / 0.7529 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.5341, allocations: 421.9 kB / 0.7533 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.5343, allocations: 12 kB / 0.7533 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.5353, allocations: 115.7 kB / 0.7534 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.5354, allocations: 40.45 kB / 0.7535 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.5355, allocations: 31.97 kB / 0.7535 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001759/0.5372, allocations: 1.554 MB / 0.755 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5373, allocations: 3.938 kB / 0.755 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002059/0.5393, allocations: 1.099 MB / 0.7561 GB, free: 10.32 MB / 0.5762 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.003188/0.5425, allocations: 2.503 MB / 0.7585 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.5445, allocations: 1.355 MB / 0.7599 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5445, allocations: 0 / 0.7599 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.545, allocations: 323 kB / 0.7602 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/0.5502, allocations: 1.383 MB / 0.7615 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/0.5765, allocations: 18.15 MB / 0.7792 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009772/0.5775, allocations: 1.59 MB / 0.7808 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001838/0.5794, allocations: 0.4949 MB / 0.7813 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.5804, allocations: 0.9639 MB / 0.7822 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of SimCode: time 8.91e-07/0.5804, allocations: 0 / 0.7822 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6216/1.202, allocations: 64.25 MB / 0.845 GB, free: 222.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.202, allocations: 250 kB / 0.8452 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/4.805, allocations: 0 / 0.8452 GB, free: 222.7 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)