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.001071/0.001071, allocations: 105.4 kB / 15.7 MB, free: 24 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.001069/0.001069, allocations: 195.9 kB / 16.64 MB, free: 6.453 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.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.629/1.629, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001399/0.001399, allocations: 70.27 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2274, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5991/0.8266, allocations: 155.1 MB / 0.9351 GB, free: 41.13 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0463/0.8729, allocations: 34.74 MB / 0.9691 GB, free: 36.06 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009402/0.8825, allocations: 159.7 kB / 0.9692 GB, free: 36.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004864/0.8874, allocations: 1.044 MB / 0.9702 GB, free: 35.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.903, allocations: 3.132 MB / 0.9733 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008016/0.911, allocations: 2.502 MB / 0.9757 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009688/0.9207, allocations: 5.322 MB / 0.9809 GB, free: 30.76 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004699/0.9254, allocations: 2.201 MB / 0.9831 GB, free: 29.39 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008178/0.9337, allocations: 2.66 MB / 0.9857 GB, free: 27.94 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005386/0.9391, allocations: 1.935 MB / 0.9876 GB, free: 26.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009212/0.9401, allocations: 210.7 kB / 0.9878 GB, free: 26.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004702/0.9448, allocations: 1.087 MB / 0.9888 GB, free: 26.46 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00082/0.9456, allocations: 0.5499 MB / 0.9894 GB, free: 26.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.9482, allocations: 1.253 MB / 0.9906 GB, free: 25.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006043/0.9542, allocations: 3.288 MB / 0.9938 GB, free: 23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.9543, allocations: 0 / 0.9938 GB, free: 23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9543, allocations: 0 / 0.9938 GB, free: 23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.908e-05/0.9544, allocations: 0 / 0.9938 GB, free: 23 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.007822/0.9622, allocations: 2.747 MB / 0.9965 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.9623, allocations: 12.66 kB / 0.9965 GB, free: 21.03 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002675/0.9626, allocations: 180 kB / 0.9967 GB, free: 20.88 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000698/0.9633, allocations: 258 kB / 0.9969 GB, free: 20.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.967, allocations: 1.492 MB / 0.9984 GB, free: 19.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.9671, allocations: 102.6 kB / 0.9985 GB, free: 19.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.9674, allocations: 136.6 kB / 0.9986 GB, free: 19.53 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/0.9707, allocations: 1.171 MB / 0.9998 GB, free: 18.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.9708, allocations: 0 / 0.9998 GB, free: 18.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.9709, allocations: 43.53 kB / 0.9998 GB, free: 18.78 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.971, allocations: 30.94 kB / 0.9998 GB, free: 18.78 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.9741, allocations: 1.015 MB / 1.001 GB, free: 18.26 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.01491/0.989, allocations: 6.304 MB / 1.007 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.9905, allocations: 0.5701 MB / 1.008 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/0.9914, allocations: 388.3 kB / 1.008 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/0.9919, allocations: 0.5033 MB / 1.008 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.9919, allocations: 45.45 kB / 1.008 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002228/0.9942, allocations: 228.3 kB / 1.009 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 5.13e-06/0.9942, allocations: 3.938 kB / 1.009 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.003401/0.9976, allocations: 1.16 MB / 1.01 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9977, allocations: 67.75 kB / 1.01 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/1.001, allocations: 1.849 MB / 1.012 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/1.001, allocations: 45.7 kB / 1.012 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/1.002, allocations: 0.9027 MB / 1.013 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/1.002, allocations: 209 kB / 1.013 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005815/1.003, allocations: 294.6 kB / 1.013 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/1.003, allocations: 357.9 kB / 1.013 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.004, allocations: 454.9 kB / 1.014 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.006, allocations: 0.6885 MB / 1.015 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/1.008, allocations: 0.9774 MB / 1.015 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.008, allocations: 4 kB / 1.015 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004013/1.012, allocations: 1.428 MB / 1.017 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.012, allocations: 8 kB / 1.017 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.012, allocations: 4 kB / 1.017 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/1.012, allocations: 8 kB / 1.017 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/1.014, allocations: 291.9 kB / 1.017 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/1.015, allocations: 12 kB / 1.017 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/1.017, allocations: 87.77 kB / 1.017 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.017, allocations: 63.94 kB / 1.017 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001957/1.019, allocations: 0.7134 MB / 1.018 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001318/1.021, allocations: 0.6723 MB / 1.019 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002186/1.023, allocations: 0.9344 MB / 1.02 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/1.023, allocations: 0 / 1.02 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00397/1.027, allocations: 1.377 MB / 1.021 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/1.027, allocations: 8 kB / 1.021 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.027, allocations: 4.094 kB / 1.021 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.027, allocations: 11.98 kB / 1.021 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/1.029, allocations: 283.5 kB / 1.021 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/1.03, allocations: 11.94 kB / 1.021 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/1.033, allocations: 103.8 kB / 1.021 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/1.033, allocations: 55.95 kB / 1.021 GB, free: 15.21 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.0005046/1.033, allocations: 243.3 kB / 1.022 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007049/1.034, allocations: 205.4 kB / 1.022 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/1.038, allocations: 1.086 MB / 1.023 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.038, allocations: 15.94 kB / 1.023 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.038, allocations: 0 / 1.023 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.038, allocations: 3.984 kB / 1.023 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/1.044, allocations: 2.412 MB / 1.025 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.044, allocations: 7.984 kB / 1.025 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.045, allocations: 131.8 kB / 1.025 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/1.045, allocations: 4 kB / 1.025 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/1.045, allocations: 23.98 kB / 1.025 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/1.045, allocations: 4 kB / 1.025 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.045, allocations: 0 / 1.025 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/1.048, allocations: 1.07 MB / 1.026 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.049, allocations: 338.4 kB / 1.027 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/1.05, allocations: 27.98 kB / 1.027 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.051, allocations: 27.97 kB / 1.027 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.051, allocations: 52.58 kB / 1.027 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/1.051, allocations: 27.94 kB / 1.027 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002866/1.054, allocations: 1.219 MB / 1.028 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.715e-06/1.054, allocations: 4 kB / 1.028 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003685/1.058, allocations: 0.9004 MB / 1.029 GB, free: 7.27 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.004102/1.062, allocations: 1.861 MB / 1.031 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005077/1.067, allocations: 1.65 MB / 1.032 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.067, allocations: 448 / 1.032 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/1.068, allocations: 419.5 kB / 1.033 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00823/1.076, allocations: 1.096 MB / 1.034 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03027/1.107, allocations: 12.98 MB / 1.047 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/1.108, allocations: 1.404 MB / 1.048 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001996/1.11, allocations: 405.8 kB / 1.048 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.111, allocations: 0.8234 MB / 1.049 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of SimCode: time 1.123e-06/1.111, allocations: 4 kB / 1.049 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09898/1.21, allocations: 55.96 MB / 1.104 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.93, allocations: 17.23 kB / 1.104 GB, free: 11.13 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)