Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 289.9 MB / 297.4 MB, free: 6.312 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.001151/0.001151, allocations: 184.8 kB / 366.7 MB, free: 1.629 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.923/1.923, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008605/0.0008604, allocations: 88.19 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.785e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.7917, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.957, allocations: 398.9 MB / 1.363 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/1.958, allocations: 92.98 kB / 1.363 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.636/3.594, allocations: 406.5 MB / 1.76 GB, free: 222.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863e-06/3.594, allocations: 0 / 1.76 GB, free: 222.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.683e-05/3.594, allocations: 28.34 kB / 1.76 GB, free: 222.5 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.001838/3.596, allocations: 1.042 MB / 1.761 GB, free: 221.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/3.596, allocations: 12.33 kB / 1.761 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/3.596, allocations: 98.28 kB / 1.761 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/3.597, allocations: 0.5677 MB / 1.762 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/3.597, allocations: 14.78 kB / 1.762 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.115e-05/3.597, allocations: 33.56 kB / 1.762 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004142/3.598, allocations: 243 kB / 1.762 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/3.598, allocations: 313.5 kB / 1.762 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/3.598, allocations: 0 / 1.762 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/3.598, allocations: 3.984 kB / 1.762 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/3.598, allocations: 13.75 kB / 1.762 GB, free: 220.9 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.002354/3.601, allocations: 1.735 MB / 1.764 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/3.601, allocations: 152.5 kB / 1.764 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/3.601, allocations: 67.91 kB / 1.764 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/3.601, allocations: 344.2 kB / 1.765 GB, free: 219 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/3.601, allocations: 34.52 kB / 1.765 GB, free: 219 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/3.601, allocations: 0 / 1.765 GB, free: 219 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004873/3.602, allocations: 212.6 kB / 1.765 GB, free: 218.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/3.602, allocations: 55.34 kB / 1.765 GB, free: 218.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/3.602, allocations: 487.9 kB / 1.765 GB, free: 218.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/3.602, allocations: 25.7 kB / 1.765 GB, free: 218.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/3.602, allocations: 365.7 kB / 1.766 GB, free: 218.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/3.603, allocations: 62.14 kB / 1.766 GB, free: 218.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/3.603, allocations: 0 / 1.766 GB, free: 218.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/3.603, allocations: 369.5 kB / 1.766 GB, free: 217.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/3.603, allocations: 84.86 kB / 1.766 GB, free: 217.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/3.603, allocations: 192.5 kB / 1.766 GB, free: 217.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/3.603, allocations: 112.5 kB / 1.766 GB, free: 217.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/3.603, allocations: 0 / 1.766 GB, free: 217.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005292/3.604, allocations: 339.2 kB / 1.767 GB, free: 217.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.573e-05/3.604, allocations: 297.6 kB / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/3.604, allocations: 0 / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/3.604, allocations: 3.906 kB / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/3.605, allocations: 136.8 kB / 1.767 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009798/3.606, allocations: 2.384 MB / 1.77 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/3.606, allocations: 71.56 kB / 1.77 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/3.607, allocations: 19.02 kB / 1.77 GB, free: 214.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/3.607, allocations: 3.688 kB / 1.77 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004039/3.607, allocations: 219.4 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/3.607, allocations: 3.75 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/3.607, allocations: 0 / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/3.607, allocations: 111 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/3.607, allocations: 7.078 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/3.608, allocations: 73.25 kB / 1.77 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/3.608, allocations: 21.05 kB / 1.77 GB, free: 214.4 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.0001092/3.608, allocations: 114.4 kB / 1.77 GB, free: 214.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003262/3.608, allocations: 202.5 kB / 1.77 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/3.608, allocations: 61.8 kB / 1.77 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/3.609, allocations: 247.9 kB / 1.771 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/3.609, allocations: 11.89 kB / 1.771 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/3.609, allocations: 0 / 1.771 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/3.609, allocations: 3.25 kB / 1.771 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/3.61, allocations: 0.7748 MB / 1.771 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/3.61, allocations: 3.984 kB / 1.771 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/3.61, allocations: 68.38 kB / 1.771 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/3.61, allocations: 11.64 kB / 1.771 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/3.61, allocations: 7.391 kB / 1.771 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007071/3.611, allocations: 2.355 MB / 1.774 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/3.611, allocations: 11.66 kB / 1.774 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/3.612, allocations: 393.4 kB / 1.774 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/3.612, allocations: 166 kB / 1.774 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/3.612, allocations: 7.141 kB / 1.774 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/3.612, allocations: 49.75 kB / 1.774 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.654e-05/3.612, allocations: 15.2 kB / 1.774 GB, free: 210.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/3.612, allocations: 6.844 kB / 1.774 GB, free: 210.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003555/3.613, allocations: 375.2 kB / 1.775 GB, free: 210.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/3.613, allocations: 0 / 1.775 GB, free: 210.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001123/3.614, allocations: 377.1 kB / 1.775 GB, free: 210.2 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.001347/3.615, allocations: 1.59 MB / 1.777 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001153/3.616, allocations: 426 kB / 1.777 GB, free: 208.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/3.616, allocations: 0 / 1.777 GB, free: 208.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/3.617, allocations: 111.3 kB / 1.777 GB, free: 208.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/3.618, allocations: 287.2 kB / 1.777 GB, free: 208.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/3.62, allocations: 0.857 MB / 1.778 GB, free: 208.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/3.62, allocations: 0.9486 MB / 1.779 GB, free: 207.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005572/3.621, allocations: 136.4 kB / 1.779 GB, free: 207.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/3.621, allocations: 235.6 kB / 1.78 GB, free: 207 MB / 0.948 GB Notification: Performance of SimCode: time 2.475e-06/3.621, allocations: 3.125 kB / 1.78 GB, free: 207 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/3.664, allocations: 18.06 MB / 1.797 GB, free: 197.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/3.664, allocations: 196.6 kB / 1.797 GB, free: 197.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/6.605, allocations: 0 / 1.797 GB, free: 197.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)