Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.847/2.847, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001444/0.001444, allocations: 172.9 kB / 360.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001089/0.001088, allocations: 95.67 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.514e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8042/0.8043, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/2.062, allocations: 397.8 MB / 1.352 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/2.062, allocations: 92.19 kB / 1.352 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.053/4.115, allocations: 406.5 MB / 1.749 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.244e-06/4.115, allocations: 0 / 1.749 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001298/4.115, allocations: 28.78 kB / 1.749 GB, free: 211.3 MB / 0.9323 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.002997/4.118, allocations: 1.046 MB / 1.75 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/4.118, allocations: 10.78 kB / 1.75 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/4.119, allocations: 97.17 kB / 1.75 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/4.121, allocations: 0.5731 MB / 1.751 GB, free: 210 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/4.121, allocations: 14.62 kB / 1.751 GB, free: 210 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/4.121, allocations: 37.06 kB / 1.751 GB, free: 210 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007637/4.122, allocations: 245.5 kB / 1.751 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/4.122, allocations: 313 kB / 1.751 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/4.122, allocations: 3.938 kB / 1.751 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/4.123, allocations: 0 / 1.751 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/4.123, allocations: 11.69 kB / 1.751 GB, free: 209.7 MB / 0.9323 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.004826/4.127, allocations: 1.735 MB / 1.753 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/4.128, allocations: 149 kB / 1.753 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/4.128, allocations: 73.84 kB / 1.753 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003481/4.128, allocations: 345.7 kB / 1.753 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/4.128, allocations: 37.5 kB / 1.754 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 3.136e-06/4.128, allocations: 0 / 1.754 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.000903/4.129, allocations: 211.2 kB / 1.754 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/4.129, allocations: 55.41 kB / 1.754 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000861/4.13, allocations: 483 kB / 1.754 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/4.13, allocations: 25.7 kB / 1.754 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/4.131, allocations: 367.2 kB / 1.755 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/4.131, allocations: 66.44 kB / 1.755 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/4.131, allocations: 3.938 kB / 1.755 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000119/4.131, allocations: 368.9 kB / 1.755 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/4.131, allocations: 84.17 kB / 1.755 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/4.132, allocations: 200 kB / 1.755 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/4.132, allocations: 113.4 kB / 1.755 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/4.132, allocations: 3.656 kB / 1.755 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001056/4.133, allocations: 335.2 kB / 1.756 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-05/4.133, allocations: 281.4 kB / 1.756 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/4.133, allocations: 0 / 1.756 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/4.133, allocations: 3.938 kB / 1.756 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/4.135, allocations: 151.7 kB / 1.756 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/4.137, allocations: 2.383 MB / 1.758 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/4.138, allocations: 66.17 kB / 1.759 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/4.138, allocations: 11.62 kB / 1.759 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/4.138, allocations: 3.719 kB / 1.759 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008393/4.139, allocations: 230.3 kB / 1.759 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/4.139, allocations: 2.719 kB / 1.759 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/4.139, allocations: 3.875 kB / 1.759 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008262/4.14, allocations: 98.94 kB / 1.759 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/4.14, allocations: 3.25 kB / 1.759 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/4.141, allocations: 74.27 kB / 1.759 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.149e-05/4.141, allocations: 14.59 kB / 1.759 GB, free: 203.2 MB / 0.9323 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.0001777/4.141, allocations: 119.7 kB / 1.759 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006882/4.142, allocations: 203.2 kB / 1.759 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/4.142, allocations: 60.03 kB / 1.759 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/4.143, allocations: 260.4 kB / 1.76 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/4.143, allocations: 0 / 1.76 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/4.143, allocations: 6.781 kB / 1.76 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/4.143, allocations: 0 / 1.76 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/4.145, allocations: 0.7789 MB / 1.76 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/4.145, allocations: 2.625 kB / 1.76 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/4.146, allocations: 83.56 kB / 1.76 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/4.146, allocations: 3.953 kB / 1.76 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/4.146, allocations: 7.594 kB / 1.76 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/4.147, allocations: 2.353 MB / 1.763 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/4.147, allocations: 0 / 1.763 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/4.148, allocations: 399.7 kB / 1.763 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/4.148, allocations: 174.2 kB / 1.763 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/4.148, allocations: 0 / 1.763 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/4.149, allocations: 52.16 kB / 1.763 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/4.149, allocations: 16.27 kB / 1.763 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/4.149, allocations: 11.45 kB / 1.763 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006132/4.15, allocations: 363.1 kB / 1.764 GB, free: 199 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.31e-07/4.15, allocations: 0 / 1.764 GB, free: 199 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001708/4.152, allocations: 381.5 kB / 1.764 GB, free: 198.9 MB / 0.9323 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.002053/4.154, allocations: 1.583 MB / 1.766 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002302/4.156, allocations: 415 kB / 1.766 GB, free: 197.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/4.156, allocations: 0 / 1.766 GB, free: 197.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005369/4.157, allocations: 119.1 kB / 1.766 GB, free: 197.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/4.16, allocations: 296 kB / 1.766 GB, free: 197.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/4.163, allocations: 0.8612 MB / 1.767 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/4.163, allocations: 0.9469 MB / 1.768 GB, free: 196 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001055/4.164, allocations: 129.1 kB / 1.768 GB, free: 196 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004218/4.165, allocations: 246.2 kB / 1.769 GB, free: 195.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.312e-06/4.165, allocations: 0 / 1.769 GB, free: 195.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08053/4.245, allocations: 18.04 MB / 1.786 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/4.246, allocations: 188.9 kB / 1.786 GB, free: 184 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.451/7.697, allocations: 7.172 kB / 1.786 GB, free: 184 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)