Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 176.1 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008321, allocations: 78.33 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 16.25 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2393, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1274/0.3668, allocations: 153.8 MB / 1.046 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5203/0.8871, allocations: 35.12 MB / 1.081 GB, free: 39.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007672/0.8948, allocations: 140.2 kB / 1.081 GB, free: 39.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.8983, allocations: 0.824 MB / 1.082 GB, free: 39.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009601/0.908, allocations: 2.865 MB / 1.084 GB, free: 38.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007435/0.9154, allocations: 2.293 MB / 1.087 GB, free: 38.85 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.9268, allocations: 7.309 MB / 1.094 GB, free: 38.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/0.931, allocations: 1.812 MB / 1.096 GB, free: 38.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.9379, allocations: 2.367 MB / 1.098 GB, free: 38.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004226/0.9422, allocations: 1.881 MB / 1.1 GB, free: 38.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009095/0.9431, allocations: 94.16 kB / 1.1 GB, free: 38.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.9467, allocations: 0.9365 MB / 1.101 GB, free: 38.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000955/0.9477, allocations: 438.7 kB / 1.101 GB, free: 38.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002689/0.9504, allocations: 1.096 MB / 1.102 GB, free: 38.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.9552, allocations: 3.08 MB / 1.105 GB, free: 37.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9553, allocations: 0 / 1.105 GB, free: 37.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9553, allocations: 0 / 1.105 GB, free: 37.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001006/0.9554, allocations: 0 / 1.105 GB, free: 37.64 MB / 0.698 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.004042/0.9594, allocations: 2.314 MB / 1.107 GB, free: 36.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.9595, allocations: 9.938 kB / 1.107 GB, free: 36.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.9597, allocations: 178.5 kB / 1.108 GB, free: 36.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/0.96, allocations: 259.8 kB / 1.108 GB, free: 36.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.9618, allocations: 1.428 MB / 1.109 GB, free: 35.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.9619, allocations: 105 kB / 1.109 GB, free: 35.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.9621, allocations: 137.6 kB / 1.11 GB, free: 35.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.9639, allocations: 1.161 MB / 1.111 GB, free: 35.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.9639, allocations: 3.938 kB / 1.111 GB, free: 35.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.964, allocations: 46.66 kB / 1.111 GB, free: 35.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.9641, allocations: 27.69 kB / 1.111 GB, free: 35.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.9657, allocations: 1.019 MB / 1.112 GB, free: 35.59 MB / 0.698 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.008805/0.9745, allocations: 6.309 MB / 1.118 GB, free: 32.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.9753, allocations: 0.5719 MB / 1.118 GB, free: 32.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.9758, allocations: 386.7 kB / 1.119 GB, free: 32.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.9761, allocations: 0.5059 MB / 1.119 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.9761, allocations: 42.75 kB / 1.119 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001337/0.9775, allocations: 327.3 kB / 1.12 GB, free: 31.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/0.9775, allocations: 0 / 1.12 GB, free: 31.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001695/0.9792, allocations: 1.125 MB / 1.121 GB, free: 31.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.9792, allocations: 59.91 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.9811, allocations: 1.854 MB / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.9812, allocations: 47.98 kB / 1.123 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.9817, allocations: 0.8991 MB / 1.124 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.9818, allocations: 208.3 kB / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.9819, allocations: 118.9 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.982, allocations: 353.3 kB / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.9827, allocations: 436.3 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008159/0.9835, allocations: 0.6868 MB / 1.125 GB, free: 29.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.9848, allocations: 0.9601 MB / 1.126 GB, free: 28.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9848, allocations: 3.156 kB / 1.126 GB, free: 28.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001993/0.9868, allocations: 1.401 MB / 1.128 GB, free: 27.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.9869, allocations: 186.8 kB / 1.128 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.9869, allocations: 6.25 kB / 1.128 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.9869, allocations: 12.66 kB / 1.128 GB, free: 27.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.988, allocations: 287.5 kB / 1.128 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.988, allocations: 17.2 kB / 1.128 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.9895, allocations: 151.5 kB / 1.128 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/0.9896, allocations: 58.98 kB / 1.128 GB, free: 27.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.9896, allocations: 3.906 kB / 1.128 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001592/0.9912, allocations: 1.153 MB / 1.129 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9913, allocations: 7.156 kB / 1.129 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.9913, allocations: 7.062 kB / 1.129 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.9923, allocations: 280.3 kB / 1.13 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.9923, allocations: 9.781 kB / 1.13 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.9936, allocations: 160 kB / 1.13 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.9937, allocations: 61.7 kB / 1.13 GB, free: 26.89 MB / 0.698 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.0006981/0.9944, allocations: 446.7 kB / 1.13 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.9946, allocations: 197.3 kB / 1.131 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.9962, allocations: 1.062 MB / 1.132 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.9963, allocations: 11.44 kB / 1.132 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9963, allocations: 0 / 1.132 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.9963, allocations: 6.234 kB / 1.132 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.9991, allocations: 2.376 MB / 1.134 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9992, allocations: 3.094 kB / 1.134 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.9997, allocations: 136 kB / 1.134 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.9997, allocations: 6.688 kB / 1.134 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.9997, allocations: 22.27 kB / 1.134 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.9997, allocations: 6.469 kB / 1.134 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.9997, allocations: 3.281 kB / 1.134 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/1.001, allocations: 1.051 MB / 1.135 GB, free: 23.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/1.001, allocations: 347.2 kB / 1.135 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.002, allocations: 11.56 kB / 1.135 GB, free: 23.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/1.002, allocations: 104.9 kB / 1.136 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.003, allocations: 46.66 kB / 1.136 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/1.003, allocations: 24.64 kB / 1.136 GB, free: 23.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001391/1.004, allocations: 1.214 MB / 1.137 GB, free: 22.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 2.906 kB / 1.137 GB, free: 22.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001983/1.006, allocations: 0.9039 MB / 1.138 GB, free: 22.41 MB / 0.698 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.002073/1.008, allocations: 1.84 MB / 1.139 GB, free: 21.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002384/1.01, allocations: 1.606 MB / 1.141 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.01, allocations: 1.438 kB / 1.141 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004817/1.011, allocations: 401.9 kB / 1.141 GB, free: 19.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/1.016, allocations: 1.147 MB / 1.143 GB, free: 18.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/1.036, allocations: 15.54 MB / 1.158 GB, free: 1.887 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/1.036, allocations: 1.394 MB / 1.159 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001804/1.038, allocations: 411.9 kB / 1.159 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.039, allocations: 0.8306 MB / 1.16 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/1.039, allocations: 0 / 1.16 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.581/1.62, allocations: 54.14 MB / 1.213 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/1.62, allocations: 277.2 kB / 1.213 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.025/5.645, allocations: 0 / 1.213 GB, free: 9.492 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)