Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7775/0.7775, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 183.2 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 447.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008458/0.0008459, allocations: 96.25 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 269.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 12.94 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6849/0.8374, allocations: 356.2 MB / 1.122 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.8377, allocations: 93.95 kB / 1.122 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.379/2.217, allocations: 418.8 MB / 1.531 GB, free: 150 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.826e-06/2.217, allocations: 3.125 kB / 1.531 GB, free: 150 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.726e-05/2.217, allocations: 32.25 kB / 1.531 GB, free: 150 MB / 0.698 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.001877/2.219, allocations: 1.191 MB / 1.532 GB, free: 149.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/2.219, allocations: 7.156 kB / 1.532 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.244e-05/2.219, allocations: 89.2 kB / 1.532 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/2.219, allocations: 95.28 kB / 1.532 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/2.22, allocations: 0.5938 MB / 1.533 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/2.22, allocations: 47.66 kB / 1.533 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/2.22, allocations: 57.47 kB / 1.533 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/2.221, allocations: 400.7 kB / 1.533 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/2.221, allocations: 2.25 kB / 1.533 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/2.221, allocations: 19.91 kB / 1.533 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/2.221, allocations: 10.41 kB / 1.533 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/2.221, allocations: 302.2 kB / 1.534 GB, free: 148.1 MB / 0.698 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.00232/2.223, allocations: 1.859 MB / 1.535 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/2.224, allocations: 163.5 kB / 1.536 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/2.224, allocations: 341.5 kB / 1.536 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/2.224, allocations: 34.91 kB / 1.536 GB, free: 146.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/2.224, allocations: 3.281 kB / 1.536 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0006493/2.225, allocations: 317 kB / 1.536 GB, free: 146 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/2.225, allocations: 55.41 kB / 1.536 GB, free: 145.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/2.225, allocations: 0.5925 MB / 1.537 GB, free: 145.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/2.225, allocations: 33.7 kB / 1.537 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/2.226, allocations: 378.3 kB / 1.537 GB, free: 145.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/2.226, allocations: 60.78 kB / 1.537 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/2.226, allocations: 4 kB / 1.537 GB, free: 145.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/2.226, allocations: 381 kB / 1.538 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/2.226, allocations: 104.5 kB / 1.538 GB, free: 144.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/2.226, allocations: 214.1 kB / 1.538 GB, free: 144.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/2.226, allocations: 135.1 kB / 1.538 GB, free: 144.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/2.226, allocations: 0 / 1.538 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005788/2.227, allocations: 388.7 kB / 1.538 GB, free: 144.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/2.227, allocations: 281 kB / 1.539 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/2.227, allocations: 0 / 1.539 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/2.227, allocations: 3.875 kB / 1.539 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/2.228, allocations: 137.4 kB / 1.539 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008315/2.229, allocations: 2.367 MB / 1.541 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/2.229, allocations: 88.03 kB / 1.541 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/2.229, allocations: 20.73 kB / 1.541 GB, free: 141.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/2.229, allocations: 3.219 kB / 1.541 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004851/2.23, allocations: 288 kB / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/2.23, allocations: 3.781 kB / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/2.23, allocations: 0 / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/2.23, allocations: 103.7 kB / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/2.23, allocations: 3.156 kB / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/2.231, allocations: 87.36 kB / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/2.231, allocations: 14.91 kB / 1.542 GB, free: 141.4 MB / 0.698 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.0002322/2.231, allocations: 273.5 kB / 1.542 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/2.231, allocations: 70.38 kB / 1.542 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/2.232, allocations: 307.1 kB / 1.542 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/2.232, allocations: 2.375 kB / 1.542 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/2.232, allocations: 0 / 1.542 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/2.232, allocations: 0 / 1.542 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/2.233, allocations: 0.9153 MB / 1.543 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.233, allocations: 0 / 1.543 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/2.233, allocations: 79.08 kB / 1.543 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/2.233, allocations: 0 / 1.543 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/2.233, allocations: 11.86 kB / 1.543 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000621/2.234, allocations: 2.35 MB / 1.546 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/2.234, allocations: 0 / 1.546 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/2.235, allocations: 460.3 kB / 1.546 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/2.235, allocations: 181.2 kB / 1.546 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/2.235, allocations: 14.53 kB / 1.546 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/2.235, allocations: 53.31 kB / 1.546 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/2.235, allocations: 13.14 kB / 1.546 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/2.235, allocations: 11.44 kB / 1.546 GB, free: 137.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004428/2.236, allocations: 474.9 kB / 1.547 GB, free: 137 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.72e-07/2.236, allocations: 0 / 1.547 GB, free: 137 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009814/2.237, allocations: 391.3 kB / 1.547 GB, free: 136.9 MB / 0.698 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.001253/2.238, allocations: 1.626 MB / 1.549 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001143/2.239, allocations: 467.2 kB / 1.549 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.239, allocations: 3 kB / 1.549 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/2.239, allocations: 142.8 kB / 1.549 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/2.241, allocations: 368.6 kB / 1.55 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/2.243, allocations: 2.046 MB / 1.552 GB, free: 133.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/2.243, allocations: 0.9477 MB / 1.553 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004185/2.244, allocations: 118.4 kB / 1.553 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/2.244, allocations: 254.8 kB / 1.553 GB, free: 132.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/2.244, allocations: 0 / 1.553 GB, free: 132.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/2.279, allocations: 21.97 MB / 1.574 GB, free: 112.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/2.279, allocations: 286.3 kB / 1.575 GB, free: 111.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/4.964, allocations: 3.516 kB / 1.575 GB, free: 111.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)