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.824/0.824, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001028/0.001028, allocations: 176.9 kB / 182.2 MB, free: 9.449 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.653/1.653, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009571/0.0009568, allocations: 99.83 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001948/0.001948, allocations: 281.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.014e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4342, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8377/1.272, allocations: 355.5 MB / 1.105 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.272, allocations: 93.75 kB / 1.105 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.723/2.995, allocations: 414.9 MB / 1.51 GB, free: 161.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.506e-06/2.995, allocations: 0 / 1.51 GB, free: 161.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.423e-05/2.995, allocations: 32.81 kB / 1.51 GB, free: 161.5 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.001711/2.997, allocations: 1.046 MB / 1.511 GB, free: 160.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/2.997, allocations: 18.19 kB / 1.511 GB, free: 160.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/2.997, allocations: 96.22 kB / 1.511 GB, free: 160.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008811/2.998, allocations: 0.5717 MB / 1.512 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/2.998, allocations: 14.97 kB / 1.512 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/2.998, allocations: 37.41 kB / 1.512 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004162/2.999, allocations: 246.1 kB / 1.512 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/2.999, allocations: 314.4 kB / 1.512 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/2.999, allocations: 0 / 1.512 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/2.999, allocations: 0 / 1.512 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/2.999, allocations: 11.75 kB / 1.512 GB, free: 160.6 MB / 0.698 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.002319/3.002, allocations: 1.74 MB / 1.514 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/3.002, allocations: 151.9 kB / 1.514 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/3.002, allocations: 66.7 kB / 1.514 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/3.002, allocations: 334.1 kB / 1.514 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/3.002, allocations: 44.38 kB / 1.514 GB, free: 159.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/3.002, allocations: 0 / 1.514 GB, free: 159.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.000467/3.003, allocations: 212.2 kB / 1.515 GB, free: 159.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/3.003, allocations: 54.91 kB / 1.515 GB, free: 159.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/3.003, allocations: 493.3 kB / 1.515 GB, free: 159.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/3.003, allocations: 32.33 kB / 1.515 GB, free: 159 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/3.003, allocations: 362.6 kB / 1.516 GB, free: 158.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/3.003, allocations: 66.7 kB / 1.516 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/3.003, allocations: 0 / 1.516 GB, free: 158.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/3.004, allocations: 367.3 kB / 1.516 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/3.004, allocations: 84.05 kB / 1.516 GB, free: 158.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/3.004, allocations: 207.2 kB / 1.516 GB, free: 158.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/3.004, allocations: 117.3 kB / 1.516 GB, free: 158.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/3.004, allocations: 3.938 kB / 1.516 GB, free: 158.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005021/3.005, allocations: 329.2 kB / 1.517 GB, free: 158.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/3.005, allocations: 277.4 kB / 1.517 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/3.005, allocations: 0 / 1.517 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/3.005, allocations: 6.219 kB / 1.517 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/3.006, allocations: 141.5 kB / 1.517 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/3.007, allocations: 2.386 MB / 1.519 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/3.007, allocations: 68.55 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/3.007, allocations: 18.08 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/3.007, allocations: 8.828 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004226/3.008, allocations: 230 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/3.008, allocations: 0 / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/3.008, allocations: 2.875 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/3.008, allocations: 102.1 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/3.008, allocations: 3.5 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/3.009, allocations: 71.44 kB / 1.52 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/3.009, allocations: 15.75 kB / 1.52 GB, free: 155.7 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 () * 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.0001014/3.009, allocations: 115.3 kB / 1.52 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003247/3.009, allocations: 201.1 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/3.009, allocations: 68.05 kB / 1.52 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/3.01, allocations: 262.9 kB / 1.521 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/3.01, allocations: 3.938 kB / 1.521 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/3.01, allocations: 3.125 kB / 1.521 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/3.01, allocations: 3.797 kB / 1.521 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/3.011, allocations: 0.7844 MB / 1.521 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/3.011, allocations: 3.906 kB / 1.521 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/3.011, allocations: 74.31 kB / 1.521 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/3.011, allocations: 0 / 1.521 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/3.011, allocations: 7.781 kB / 1.521 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007132/3.012, allocations: 2.358 MB / 1.524 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/3.012, allocations: 0 / 1.524 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/3.012, allocations: 405.4 kB / 1.524 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/3.013, allocations: 170.1 kB / 1.524 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/3.013, allocations: 0 / 1.524 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/3.013, allocations: 53.81 kB / 1.524 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/3.013, allocations: 15.66 kB / 1.524 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/3.013, allocations: 10.41 kB / 1.524 GB, free: 152.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003472/3.014, allocations: 369.5 kB / 1.525 GB, free: 152.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/3.014, allocations: 0 / 1.525 GB, free: 152.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001082/3.015, allocations: 386.9 kB / 1.525 GB, free: 152.2 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 () * 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.001452/3.016, allocations: 1.586 MB / 1.527 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001154/3.017, allocations: 421 kB / 1.527 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/3.017, allocations: 0 / 1.527 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/3.018, allocations: 113.5 kB / 1.527 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/3.019, allocations: 275.3 kB / 1.527 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/3.021, allocations: 0.8731 MB / 1.528 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/3.021, allocations: 0.9464 MB / 1.529 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006128/3.022, allocations: 132.8 kB / 1.529 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/3.022, allocations: 247.3 kB / 1.53 GB, free: 150 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/3.022, allocations: 2.531 kB / 1.53 GB, free: 150 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/3.064, allocations: 17.96 MB / 1.547 GB, free: 149.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/3.064, allocations: 203.3 kB / 1.547 GB, free: 149.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/5.893, allocations: 0 / 1.547 GB, free: 149.3 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)