Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6972/0.6972, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 188.7 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 404.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 86.05 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.153e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 76.76 MB / 0.6283 GB, free: 9.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.254, allocations: 358.6 MB / 0.9785 GB, free: 175.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.254, allocations: 99.94 kB / 0.9786 GB, free: 175.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.069/2.323, allocations: 399.2 MB / 1.368 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/2.323, allocations: 0 / 1.368 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.898e-05/2.323, allocations: 27.98 kB / 1.368 GB, free: 19.61 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001661/2.325, allocations: 1.021 MB / 1.369 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/2.325, allocations: 16.03 kB / 1.369 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.833e-05/2.325, allocations: 82.53 kB / 1.37 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/2.325, allocations: 90.88 kB / 1.37 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/2.326, allocations: 0.5676 MB / 1.37 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/2.326, allocations: 45 kB / 1.37 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/2.326, allocations: 56.34 kB / 1.37 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/2.327, allocations: 474.3 kB / 1.371 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/2.327, allocations: 0 / 1.371 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/2.327, allocations: 20 kB / 1.371 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/2.327, allocations: 12 kB / 1.371 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/2.328, allocations: 351.8 kB / 1.371 GB, free: 16.8 MB / 0.6355 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.002444/2.331, allocations: 1.83 MB / 1.373 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009481/2.332, allocations: 234.4 kB / 1.373 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/2.332, allocations: 48.8 kB / 1.373 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/2.332, allocations: 336.4 kB / 1.373 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/2.332, allocations: 30.56 kB / 1.374 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/2.332, allocations: 0 / 1.374 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001708/2.334, allocations: 389.8 kB / 1.374 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/2.334, allocations: 55.41 kB / 1.374 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/2.334, allocations: 0.578 MB / 1.375 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/2.334, allocations: 33.7 kB / 1.375 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/2.335, allocations: 368.1 kB / 1.375 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/2.335, allocations: 55.27 kB / 1.375 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/2.335, allocations: 8 kB / 1.375 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/2.335, allocations: 378.7 kB / 1.375 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/2.335, allocations: 91.98 kB / 1.375 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/2.335, allocations: 208.2 kB / 1.376 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/2.335, allocations: 113.5 kB / 1.376 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/2.335, allocations: 0 / 1.376 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005056/2.336, allocations: 362.6 kB / 1.376 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/2.336, allocations: 275 kB / 1.376 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/2.336, allocations: 8.062 kB / 1.376 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/2.336, allocations: 3.938 kB / 1.376 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/2.339, allocations: 455.4 kB / 1.377 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/2.341, allocations: 2.551 MB / 1.379 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/2.342, allocations: 103.6 kB / 1.379 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/2.342, allocations: 15.98 kB / 1.379 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/2.342, allocations: 4 kB / 1.379 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003715/2.342, allocations: 236.1 kB / 1.38 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/2.342, allocations: 0 / 1.38 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/2.342, allocations: 7.984 kB / 1.38 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/2.343, allocations: 103.8 kB / 1.38 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/2.343, allocations: 3.938 kB / 1.38 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/2.343, allocations: 75.69 kB / 1.38 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/2.343, allocations: 16 kB / 1.38 GB, free: 7.457 MB / 0.6355 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 (43): * Single equations (assignments): 39 * 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.0001115/2.344, allocations: 124.9 kB / 1.38 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/2.344, allocations: 67.14 kB / 1.38 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/2.344, allocations: 253.2 kB / 1.38 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/2.344, allocations: 3.953 kB / 1.38 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.344, allocations: 0 / 1.38 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/2.344, allocations: 3.984 kB / 1.38 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/2.345, allocations: 0.505 MB / 1.381 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/2.345, allocations: 0 / 1.381 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/2.347, allocations: 447.5 kB / 1.381 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/2.348, allocations: 7.984 kB / 1.381 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/2.348, allocations: 7.953 kB / 1.381 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3932/2.741, allocations: 5.735 MB / 1.387 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.741, allocations: 0.9375 kB / 1.387 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/2.741, allocations: 225.4 kB / 1.387 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/2.742, allocations: 163.7 kB / 1.387 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/2.742, allocations: 0.625 kB / 1.387 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/2.742, allocations: 79.59 kB / 1.387 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/2.743, allocations: 16.39 kB / 1.387 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/2.743, allocations: 10.02 kB / 1.387 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007777/2.743, allocations: 479.9 kB / 1.388 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/2.743, allocations: 0.5625 kB / 1.388 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001297/2.745, allocations: 395.5 kB / 1.388 GB, free: 105.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001443/2.746, allocations: 1.133 MB / 1.389 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003678/2.75, allocations: 0.687 MB / 1.39 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/2.75, allocations: 0.7812 kB / 1.39 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00288/2.753, allocations: 441.8 kB / 1.39 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/2.755, allocations: 364.3 kB / 1.391 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/2.757, allocations: 0.8597 MB / 1.391 GB, free: 104.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/2.758, allocations: 0.9377 MB / 1.392 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007469/2.759, allocations: 144.1 kB / 1.393 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/2.759, allocations: 238.9 kB / 1.393 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/2.759, allocations: 1.594 kB / 1.393 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05598/2.815, allocations: 24.32 MB / 1.416 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/2.815, allocations: 241.1 kB / 1.417 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/5.806, allocations: 6.344 kB / 1.417 GB, free: 102.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)