Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.82/1.82, allocations: 285.4 MB / 298 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 184.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.1 MB / 0.6248 GB, free: 7.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008749/0.0008747, allocations: 93.8 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.777e-05/4.778e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8312, allocations: 115.3 MB / 0.971 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/2.03, allocations: 398.6 MB / 1.36 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/2.03, allocations: 100.7 kB / 1.36 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.603/3.633, allocations: 409.2 MB / 1.76 GB, free: 224.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.814e-06/3.633, allocations: 3.938 kB / 1.76 GB, free: 224.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001712/3.634, allocations: 27.47 kB / 1.76 GB, free: 224 MB / 0.948 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.002755/3.636, allocations: 1.039 MB / 1.761 GB, free: 223.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/3.636, allocations: 7.906 kB / 1.761 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/3.637, allocations: 90.2 kB / 1.761 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/3.637, allocations: 97.44 kB / 1.761 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/3.638, allocations: 0.5697 MB / 1.762 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/3.638, allocations: 48.28 kB / 1.762 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/3.638, allocations: 61.5 kB / 1.762 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/3.639, allocations: 374.9 kB / 1.762 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/3.639, allocations: 0 / 1.762 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/3.639, allocations: 19.84 kB / 1.762 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/3.639, allocations: 10.75 kB / 1.762 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/3.639, allocations: 260.8 kB / 1.763 GB, free: 222.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002699/3.642, allocations: 1.854 MB / 1.764 GB, free: 220.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/3.642, allocations: 149.4 kB / 1.764 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/3.642, allocations: 69.08 kB / 1.765 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/3.643, allocations: 343.5 kB / 1.765 GB, free: 220.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/3.643, allocations: 34.56 kB / 1.765 GB, free: 220.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.425e-06/3.643, allocations: 0 / 1.765 GB, free: 220.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004138/3.643, allocations: 218.2 kB / 1.765 GB, free: 220.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/3.643, allocations: 55.31 kB / 1.765 GB, free: 220.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/3.644, allocations: 0.5764 MB / 1.766 GB, free: 219.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/3.644, allocations: 33.45 kB / 1.766 GB, free: 219.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/3.644, allocations: 371.5 kB / 1.766 GB, free: 219.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/3.644, allocations: 68.62 kB / 1.766 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/3.644, allocations: 7.875 kB / 1.766 GB, free: 219.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/3.644, allocations: 374.5 kB / 1.767 GB, free: 219 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/3.644, allocations: 86.55 kB / 1.767 GB, free: 218.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/3.645, allocations: 205.3 kB / 1.767 GB, free: 218.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/3.645, allocations: 103.9 kB / 1.767 GB, free: 218.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/3.645, allocations: 2.438 kB / 1.767 GB, free: 218.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000494/3.645, allocations: 351.8 kB / 1.767 GB, free: 218.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/3.645, allocations: 281.1 kB / 1.768 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/3.645, allocations: 0 / 1.768 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/3.645, allocations: 3.906 kB / 1.768 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/3.646, allocations: 131.8 kB / 1.768 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009492/3.647, allocations: 2.369 MB / 1.77 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/3.648, allocations: 95.97 kB / 1.77 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/3.648, allocations: 18.98 kB / 1.77 GB, free: 215.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/3.648, allocations: 3.469 kB / 1.77 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004141/3.649, allocations: 258.1 kB / 1.77 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/3.649, allocations: 0 / 1.77 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/3.649, allocations: 7.516 kB / 1.77 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/3.649, allocations: 99.66 kB / 1.77 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/3.649, allocations: 7.625 kB / 1.77 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/3.65, allocations: 87.88 kB / 1.771 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/3.65, allocations: 15.8 kB / 1.771 GB, free: 215.6 MB / 0.948 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 () * 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.000107/3.65, allocations: 127.9 kB / 1.771 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/3.65, allocations: 67.91 kB / 1.771 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005798/3.65, allocations: 287.8 kB / 1.771 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/3.65, allocations: 3.875 kB / 1.771 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/3.65, allocations: 0 / 1.771 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/3.65, allocations: 0 / 1.771 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/3.651, allocations: 0.8521 MB / 1.772 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/3.651, allocations: 3.938 kB / 1.772 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/3.652, allocations: 74.88 kB / 1.772 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/3.652, allocations: 3.938 kB / 1.772 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/3.652, allocations: 11.92 kB / 1.772 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007023/3.653, allocations: 2.348 MB / 1.774 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/3.653, allocations: 7.875 kB / 1.774 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/3.653, allocations: 421.8 kB / 1.775 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/3.653, allocations: 165.8 kB / 1.775 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/3.653, allocations: 7.75 kB / 1.775 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/3.654, allocations: 63.19 kB / 1.775 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/3.654, allocations: 22.97 kB / 1.775 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/3.654, allocations: 7.812 kB / 1.775 GB, free: 211.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005594/3.654, allocations: 453.4 kB / 1.775 GB, free: 211.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/3.654, allocations: 0 / 1.775 GB, free: 211.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001304/3.656, allocations: 392.3 kB / 1.776 GB, free: 211.3 MB / 0.948 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 () * 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.001953/3.658, allocations: 1.589 MB / 1.777 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00152/3.659, allocations: 434 kB / 1.778 GB, free: 209.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/3.659, allocations: 0 / 1.778 GB, free: 209.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/3.66, allocations: 122.2 kB / 1.778 GB, free: 209.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/3.662, allocations: 374.7 kB / 1.778 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/3.665, allocations: 0.8906 MB / 1.779 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/3.665, allocations: 0.9467 MB / 1.78 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009223/3.666, allocations: 166.5 kB / 1.78 GB, free: 208.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/3.666, allocations: 240 kB / 1.78 GB, free: 208.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.392e-06/3.666, allocations: 0 / 1.78 GB, free: 208.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/3.712, allocations: 23.85 MB / 1.804 GB, free: 194.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/3.712, allocations: 241.1 kB / 1.804 GB, free: 193.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/7.005, allocations: 3.938 kB / 1.804 GB, free: 193.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)