Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.516/1.516, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.00124/0.001239, allocations: 183.7 kB / 326.5 MB, free: 2.258 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.891/1.891, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.000973/0.0009731, allocations: 78.02 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 12.67 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 106.3 MB / 0.9002 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8382/1.044, allocations: 391.1 MB / 1.282 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004022/1.045, allocations: 100.6 kB / 1.282 GB, free: 8.145 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.32/2.365, allocations: 398.7 MB / 1.672 GB, free: 78.21 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.723e-06/2.365, allocations: 0 / 1.672 GB, free: 78.21 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.883e-05/2.365, allocations: 31.98 kB / 1.672 GB, free: 78.18 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002836/2.368, allocations: 1.179 MB / 1.673 GB, free: 76.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/2.368, allocations: 12.56 kB / 1.673 GB, free: 76.94 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/2.368, allocations: 90.52 kB / 1.673 GB, free: 76.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/2.369, allocations: 95.27 kB / 1.673 GB, free: 76.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/2.37, allocations: 0.578 MB / 1.673 GB, free: 76.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/2.37, allocations: 45 kB / 1.674 GB, free: 76.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/2.37, allocations: 60 kB / 1.674 GB, free: 76.03 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/2.371, allocations: 394.5 kB / 1.674 GB, free: 75.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/2.371, allocations: 3.938 kB / 1.674 GB, free: 75.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/2.371, allocations: 23.98 kB / 1.674 GB, free: 75.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/2.371, allocations: 12 kB / 1.674 GB, free: 75.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/2.371, allocations: 295.8 kB / 1.674 GB, free: 75.3 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.002752/2.374, allocations: 1.85 MB / 1.676 GB, free: 73.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/2.374, allocations: 174.4 kB / 1.676 GB, free: 73.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/2.375, allocations: 344.5 kB / 1.677 GB, free: 72.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/2.375, allocations: 30.56 kB / 1.677 GB, free: 72.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/2.375, allocations: 0 / 1.677 GB, free: 72.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.000718/2.375, allocations: 317 kB / 1.677 GB, free: 72.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/2.375, allocations: 51.41 kB / 1.677 GB, free: 72.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/2.376, allocations: 0.5819 MB / 1.678 GB, free: 71.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/2.376, allocations: 37.7 kB / 1.678 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/2.376, allocations: 368.6 kB / 1.678 GB, free: 71.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/2.376, allocations: 71.08 kB / 1.678 GB, free: 71.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/2.376, allocations: 4 kB / 1.678 GB, free: 71.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/2.377, allocations: 374.8 kB / 1.678 GB, free: 70.85 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/2.377, allocations: 100.7 kB / 1.678 GB, free: 70.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/2.377, allocations: 217.5 kB / 1.679 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/2.377, allocations: 134.2 kB / 1.679 GB, free: 70.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.377, allocations: 4 kB / 1.679 GB, free: 70.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006669/2.378, allocations: 390.6 kB / 1.679 GB, free: 69.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.41e-05/2.378, allocations: 274.9 kB / 1.679 GB, free: 69.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/2.378, allocations: 0 / 1.679 GB, free: 69.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/2.378, allocations: 8 kB / 1.679 GB, free: 69.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/2.379, allocations: 127.8 kB / 1.68 GB, free: 69.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008674/2.38, allocations: 2.371 MB / 1.682 GB, free: 67.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/2.381, allocations: 87.78 kB / 1.682 GB, free: 67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/2.381, allocations: 19.98 kB / 1.682 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/2.381, allocations: 8 kB / 1.682 GB, free: 66.97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004852/2.381, allocations: 288 kB / 1.682 GB, free: 66.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/2.381, allocations: 0 / 1.682 GB, free: 66.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/2.381, allocations: 8.125 kB / 1.682 GB, free: 66.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/2.382, allocations: 103.9 kB / 1.682 GB, free: 66.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/2.382, allocations: 4 kB / 1.682 GB, free: 66.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/2.382, allocations: 83.61 kB / 1.682 GB, free: 66.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/2.382, allocations: 12 kB / 1.682 GB, free: 66.48 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002786/2.382, allocations: 274 kB / 1.683 GB, free: 66.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/2.383, allocations: 75.14 kB / 1.683 GB, free: 66.13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/2.383, allocations: 315.5 kB / 1.683 GB, free: 65.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/2.383, allocations: 11.94 kB / 1.683 GB, free: 65.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.383, allocations: 0 / 1.683 GB, free: 65.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/2.383, allocations: 0 / 1.683 GB, free: 65.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/2.384, allocations: 0.8899 MB / 1.684 GB, free: 64.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/2.384, allocations: 4 kB / 1.684 GB, free: 64.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/2.385, allocations: 67.89 kB / 1.684 GB, free: 64.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/2.385, allocations: 7.938 kB / 1.684 GB, free: 64.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/2.385, allocations: 8 kB / 1.684 GB, free: 64.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006263/2.385, allocations: 2.36 MB / 1.686 GB, free: 62.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.385, allocations: 7.938 kB / 1.686 GB, free: 62.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/2.386, allocations: 455.8 kB / 1.687 GB, free: 61.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/2.386, allocations: 172.1 kB / 1.687 GB, free: 61.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/2.386, allocations: 0 / 1.687 GB, free: 61.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/2.387, allocations: 59.94 kB / 1.687 GB, free: 61.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/2.387, allocations: 23.92 kB / 1.687 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/2.387, allocations: 4 kB / 1.687 GB, free: 61.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004446/2.387, allocations: 463 kB / 1.687 GB, free: 61.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/2.387, allocations: 0 / 1.687 GB, free: 61.09 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001079/2.388, allocations: 387.3 kB / 1.688 GB, free: 60.71 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/2.39, allocations: 1.617 MB / 1.689 GB, free: 59.04 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001317/2.391, allocations: 459.9 kB / 1.69 GB, free: 58.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.391, allocations: 3.938 kB / 1.69 GB, free: 58.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/2.391, allocations: 136.1 kB / 1.69 GB, free: 58.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/2.393, allocations: 379.5 kB / 1.69 GB, free: 58.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/2.395, allocations: 2.015 MB / 1.692 GB, free: 56 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/2.396, allocations: 0.9492 MB / 1.693 GB, free: 55.03 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005109/2.396, allocations: 113.2 kB / 1.693 GB, free: 54.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/2.397, allocations: 255 kB / 1.694 GB, free: 54.67 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/2.397, allocations: 0 / 1.694 GB, free: 54.67 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/2.436, allocations: 22 MB / 1.715 GB, free: 33.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/2.436, allocations: 279.6 kB / 1.715 GB, free: 32.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/5.283, allocations: 2.188 kB / 1.715 GB, free: 32.69 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)