Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.000882/0.0008821, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005046/0.005046, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005209, allocations: 16.34 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1842, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4324/0.6167, allocations: 151.8 MB / 0.9362 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03456/0.6513, allocations: 34.85 MB / 0.9702 GB, free: 30.86 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.6558, allocations: 134.6 kB / 0.9704 GB, free: 30.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.6578, allocations: 0.8343 MB / 0.9712 GB, free: 30.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006583/0.6644, allocations: 2.857 MB / 0.974 GB, free: 29.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004802/0.6692, allocations: 2.299 MB / 0.9762 GB, free: 28.17 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006717/0.6759, allocations: 7.31 MB / 0.9833 GB, free: 25.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.6779, allocations: 1.829 MB / 0.9851 GB, free: 24.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.6814, allocations: 2.334 MB / 0.9874 GB, free: 23.35 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.6837, allocations: 1.882 MB / 0.9893 GB, free: 22.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.6839, allocations: 96.09 kB / 0.9893 GB, free: 22.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.6856, allocations: 0.9431 MB / 0.9903 GB, free: 21.97 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.6859, allocations: 429.2 kB / 0.9907 GB, free: 21.67 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007427/0.6866, allocations: 1.131 MB / 0.9918 GB, free: 20.94 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.6885, allocations: 3.089 MB / 0.9948 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6885, allocations: 0 / 0.9948 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6885, allocations: 0 / 0.9948 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.6885, allocations: 0 / 0.9948 GB, free: 18.89 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003051/0.6916, allocations: 2.313 MB / 0.9971 GB, free: 17.22 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.6916, allocations: 9.344 kB / 0.9971 GB, free: 17.22 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.6918, allocations: 170.1 kB / 0.9972 GB, free: 17.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.6921, allocations: 268.5 kB / 0.9975 GB, free: 16.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.6935, allocations: 1.432 MB / 0.9989 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.6936, allocations: 104.6 kB / 0.999 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.6938, allocations: 136.2 kB / 0.9991 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.6954, allocations: 1.17 MB / 1 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6954, allocations: 0 / 1 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.6955, allocations: 49.88 kB / 1 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.6955, allocations: 27.12 kB / 1 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.697, allocations: 1.029 MB / 1.001 GB, free: 14.51 MB / 0.7169 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.006933/0.7039, allocations: 6.315 MB / 1.007 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.7047, allocations: 0.5811 MB / 1.008 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.7052, allocations: 392.5 kB / 1.008 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.7054, allocations: 0.5062 MB / 1.009 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.7054, allocations: 41.94 kB / 1.009 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001067/0.7065, allocations: 333 kB / 1.009 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 1.924e-06/0.7065, allocations: 0 / 1.009 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001543/0.7081, allocations: 1.14 MB / 1.01 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.7081, allocations: 63.22 kB / 1.01 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.7097, allocations: 1.839 MB / 1.012 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.7098, allocations: 46.64 kB / 1.012 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.7103, allocations: 0.912 MB / 1.013 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.7104, allocations: 202.6 kB / 1.013 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.7105, allocations: 118.7 kB / 1.014 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.7106, allocations: 356 kB / 1.014 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.7112, allocations: 442.6 kB / 1.014 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.712, allocations: 0.679 MB / 1.015 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7132, allocations: 0.9701 MB / 1.016 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7132, allocations: 0 / 1.016 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001738/0.7149, allocations: 1.405 MB / 1.017 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.715, allocations: 198.1 kB / 1.017 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.715, allocations: 0 / 1.017 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.715, allocations: 16 kB / 1.017 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7161, allocations: 287.5 kB / 1.018 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.7161, allocations: 8 kB / 1.018 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.7175, allocations: 151.6 kB / 1.018 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.7176, allocations: 67.94 kB / 1.018 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/0.7176, allocations: 4 kB / 1.018 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001535/0.7191, allocations: 1.149 MB / 1.019 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7191, allocations: 4 kB / 1.019 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.7191, allocations: 8 kB / 1.019 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.7202, allocations: 287.5 kB / 1.019 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.7202, allocations: 8 kB / 1.019 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.7215, allocations: 166.3 kB / 1.02 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.7216, allocations: 63.89 kB / 1.02 GB, free: 15.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0005168/0.7221, allocations: 436.8 kB / 1.02 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.7223, allocations: 197.5 kB / 1.02 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.7241, allocations: 1.08 MB / 1.021 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.7241, allocations: 4 kB / 1.021 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7242, allocations: 4 kB / 1.021 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.7242, allocations: 7.922 kB / 1.021 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.7272, allocations: 2.393 MB / 1.024 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7272, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.7278, allocations: 139.8 kB / 1.024 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7278, allocations: 4 kB / 1.024 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.7278, allocations: 16 kB / 1.024 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.7278, allocations: 7.984 kB / 1.024 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7278, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.7291, allocations: 1.058 MB / 1.025 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.7296, allocations: 370.2 kB / 1.025 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.7298, allocations: 23.92 kB / 1.025 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008269/0.7306, allocations: 91.77 kB / 1.025 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.7307, allocations: 56.61 kB / 1.025 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.7308, allocations: 27.98 kB / 1.025 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001387/0.7322, allocations: 1.215 MB / 1.027 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7322, allocations: 4 kB / 1.027 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001675/0.7338, allocations: 0.9004 MB / 1.027 GB, free: 7.242 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * 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.002003/0.7359, allocations: 1.838 MB / 1.029 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.7382, allocations: 1.619 MB / 1.031 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7382, allocations: 0 / 1.031 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.7388, allocations: 403.9 kB / 1.031 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005612/0.7444, allocations: 1.155 MB / 1.032 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/0.7655, allocations: 15.6 MB / 1.048 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.7664, allocations: 1.39 MB / 1.049 GB, free: 76 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001569/0.7679, allocations: 412.5 kB / 1.049 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009585/0.7689, allocations: 0.8233 MB / 1.05 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of SimCode: time 7.61e-07/0.7689, allocations: 0 / 1.05 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.392/2.161, allocations: 54.24 MB / 1.103 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/2.161, allocations: 260.7 kB / 1.103 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.513/5.674, allocations: 0 / 1.103 GB, free: 9.039 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)