Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.238/2.238, allocations: 251 MB / 265.9 MB, free: 11.7 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.00147/0.00147, allocations: 181.8 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001155/0.001155, allocations: 92.47 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004871, allocations: 14.81 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.495, allocations: 423.1 MB / 1.312 GB, free: 11.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/1.495, allocations: 106.1 kB / 1.312 GB, free: 11.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.8/7.295, allocations: 1.072 GB / 2.384 GB, free: 25.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.394e-06/7.295, allocations: 0 / 2.384 GB, free: 25.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000393/7.296, allocations: 67.91 kB / 2.384 GB, free: 25.63 MB / 0.8855 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.009525/7.305, allocations: 2.703 MB / 2.387 GB, free: 22.86 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/7.305, allocations: 12.03 kB / 2.387 GB, free: 22.85 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006454/7.306, allocations: 173.8 kB / 2.387 GB, free: 22.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008925/7.307, allocations: 268.9 kB / 2.387 GB, free: 22.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00652/7.313, allocations: 1.583 MB / 2.389 GB, free: 20.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/7.314, allocations: 106.3 kB / 2.389 GB, free: 20.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/7.314, allocations: 148 kB / 2.389 GB, free: 20.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/7.317, allocations: 1.152 MB / 2.39 GB, free: 19.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/7.317, allocations: 3.938 kB / 2.39 GB, free: 19.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/7.318, allocations: 55.98 kB / 2.39 GB, free: 19.26 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/7.318, allocations: 31.95 kB / 2.39 GB, free: 19.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/7.321, allocations: 1.001 MB / 2.391 GB, free: 18.22 MB / 0.8855 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.01684/7.337, allocations: 6.337 MB / 2.398 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/7.339, allocations: 0.5879 MB / 2.398 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/7.34, allocations: 0.507 MB / 2.399 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/7.34, allocations: 39.12 kB / 2.399 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003983/7.344, allocations: 470.5 kB / 2.399 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 9.658e-06/7.344, allocations: 0 / 2.399 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.003801/7.348, allocations: 1.121 MB / 2.4 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/7.348, allocations: 64.09 kB / 2.4 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/7.351, allocations: 1.606 MB / 2.402 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004048/7.352, allocations: 49.7 kB / 2.402 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/7.353, allocations: 0.9291 MB / 2.403 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/7.353, allocations: 201 kB / 2.403 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/7.353, allocations: 20 kB / 2.403 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001207/7.354, allocations: 357.9 kB / 2.403 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/7.355, allocations: 406.4 kB / 2.404 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/7.357, allocations: 0.7518 MB / 2.404 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/7.358, allocations: 0.4968 MB / 2.405 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/7.358, allocations: 7.938 kB / 2.405 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004129/7.363, allocations: 1.334 MB / 2.406 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000221/7.363, allocations: 0.9344 MB / 2.407 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/7.363, allocations: 4 kB / 2.407 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/7.363, allocations: 8 kB / 2.407 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/7.365, allocations: 279.6 kB / 2.407 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/7.366, allocations: 15.94 kB / 2.407 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/7.369, allocations: 159.6 kB / 2.408 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004571/7.37, allocations: 64 kB / 2.408 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/7.37, allocations: 4 kB / 2.408 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003382/7.373, allocations: 1.112 MB / 2.409 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/7.373, allocations: 256 / 2.409 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/7.373, allocations: 12 kB / 2.409 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/7.376, allocations: 279.6 kB / 2.409 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/7.376, allocations: 7.984 kB / 2.409 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/7.379, allocations: 163.6 kB / 2.409 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/7.38, allocations: 55.95 kB / 2.409 GB, free: 14.98 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (146): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001729/7.382, allocations: 448.8 kB / 2.41 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/7.382, allocations: 201.4 kB / 2.41 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/7.386, allocations: 1.068 MB / 2.411 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/7.386, allocations: 11.98 kB / 2.411 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/7.386, allocations: 0 / 2.411 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/7.386, allocations: 7.984 kB / 2.411 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007664/7.394, allocations: 2.362 MB / 2.413 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/7.394, allocations: 4 kB / 2.413 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/7.395, allocations: 140 kB / 2.413 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/7.395, allocations: 4 kB / 2.413 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/7.395, allocations: 19.98 kB / 2.413 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/7.396, allocations: 4 kB / 2.413 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/7.396, allocations: 0 / 2.413 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/7.399, allocations: 1.167 MB / 2.415 GB, free: 9.391 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/7.4, allocations: 366.2 kB / 2.415 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006234/7.401, allocations: 12 kB / 2.415 GB, free: 9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/7.403, allocations: 111.7 kB / 2.415 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/7.403, allocations: 52.55 kB / 2.415 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.532e-05/7.403, allocations: 27.98 kB / 2.415 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003225/7.407, allocations: 1.208 MB / 2.416 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.21e-07/7.407, allocations: 0 / 2.416 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00557/7.412, allocations: 0.9753 MB / 2.417 GB, free: 6.613 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005829/7.418, allocations: 2.953 MB / 2.42 GB, free: 3.605 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005029/7.423, allocations: 1.567 MB / 2.422 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/7.423, allocations: 0 / 2.422 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/7.424, allocations: 404.8 kB / 2.422 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/7.435, allocations: 1.143 MB / 2.423 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7588/8.194, allocations: 5.805 MB / 2.429 GB, free: 100.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/8.195, allocations: 1.436 MB / 2.43 GB, free: 99.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003316/8.199, allocations: 397.9 kB / 2.431 GB, free: 99.51 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/8.201, allocations: 0.8166 MB / 2.431 GB, free: 99.5 MB / 0.9011 GB Notification: Performance of SimCode: time 2.525e-06/8.201, allocations: 1.406 kB / 2.431 GB, free: 99.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1708/8.372, allocations: 62.74 MB / 2.493 GB, free: 97.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/8.372, allocations: 245.6 kB / 2.493 GB, free: 97.41 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.514/13.89, allocations: 0 / 2.493 GB, free: 97.41 MB / 0.9011 GB