Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.7986/0.7986, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001062/0.001062, allocations: 173.1 kB / 191.5 MB, free: 5.754 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.424/1.424, allocations: 223.2 MB / 447.7 MB, free: 6.543 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.0008918/0.0008918, allocations: 88.28 kB / 0.5188 GB, free: 2.898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001866/0.001866, allocations: 277.6 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004328, allocations: 19.98 kB / 0.693 GB, free: 2.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 82.77 MB / 0.7738 GB, free: 26.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7336/1.105, allocations: 388.4 MB / 1.153 GB, free: 15.41 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.105, allocations: 110.7 kB / 1.153 GB, free: 15.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.843/4.948, allocations: 1.126 GB / 2.279 GB, free: 68.22 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/4.949, allocations: 0 / 2.279 GB, free: 68.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002177/4.949, allocations: 70.48 kB / 2.279 GB, free: 68.22 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.006704/4.955, allocations: 2.731 MB / 2.282 GB, free: 67.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/4.956, allocations: 8.5 kB / 2.282 GB, free: 67.21 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003383/4.956, allocations: 179.6 kB / 2.282 GB, free: 67.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/4.956, allocations: 264.9 kB / 2.282 GB, free: 67.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/4.96, allocations: 1.609 MB / 2.284 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/4.96, allocations: 108.7 kB / 2.284 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/4.961, allocations: 149.3 kB / 2.284 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/4.963, allocations: 1.153 MB / 2.285 GB, free: 66.56 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/4.963, allocations: 2.688 kB / 2.285 GB, free: 66.56 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/4.963, allocations: 47.16 kB / 2.285 GB, free: 66.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/4.963, allocations: 32.84 kB / 2.285 GB, free: 66.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/4.964, allocations: 1.011 MB / 2.286 GB, free: 66.55 MB / 0.7292 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.009318/4.974, allocations: 6.372 MB / 2.292 GB, free: 63.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/4.975, allocations: 0.5964 MB / 2.293 GB, free: 63.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/4.975, allocations: 0.5106 MB / 2.293 GB, free: 63.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/4.975, allocations: 42.31 kB / 2.293 GB, free: 63.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002111/4.977, allocations: 476.9 kB / 2.294 GB, free: 63.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 3.797e-06/4.977, allocations: 0.6562 kB / 2.294 GB, free: 63.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001821/4.979, allocations: 1.135 MB / 2.295 GB, free: 63.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/4.979, allocations: 59.62 kB / 2.295 GB, free: 63.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/4.981, allocations: 1.637 MB / 2.297 GB, free: 62.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/4.981, allocations: 54.11 kB / 2.297 GB, free: 62.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/4.981, allocations: 0.9291 MB / 2.298 GB, free: 62.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/4.982, allocations: 195.2 kB / 2.298 GB, free: 62.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/4.982, allocations: 22.66 kB / 2.298 GB, free: 62.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/4.982, allocations: 352.6 kB / 2.298 GB, free: 62.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/4.982, allocations: 420.3 kB / 2.298 GB, free: 62.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007926/4.983, allocations: 0.7431 MB / 2.299 GB, free: 61.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/4.984, allocations: 0.5024 MB / 2.3 GB, free: 61.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/4.984, allocations: 1.875 kB / 2.3 GB, free: 61.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002038/4.986, allocations: 1.349 MB / 2.301 GB, free: 61.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/4.986, allocations: 0.9312 MB / 2.302 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/4.986, allocations: 0 / 2.302 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/4.986, allocations: 12.97 kB / 2.302 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/4.987, allocations: 277.3 kB / 2.302 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/4.987, allocations: 10.91 kB / 2.302 GB, free: 60.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/4.989, allocations: 157.1 kB / 2.302 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/4.99, allocations: 60.83 kB / 2.302 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/4.99, allocations: 4.969 kB / 2.302 GB, free: 60.56 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/4.991, allocations: 1.119 MB / 2.303 GB, free: 60.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/4.991, allocations: 5.469 kB / 2.304 GB, free: 60.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/4.991, allocations: 6.531 kB / 2.304 GB, free: 60.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/4.992, allocations: 275.3 kB / 2.304 GB, free: 60.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/4.992, allocations: 9.062 kB / 2.304 GB, free: 60.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/4.994, allocations: 170 kB / 2.304 GB, free: 60.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/4.994, allocations: 59.86 kB / 2.304 GB, free: 60.51 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (146): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008378/4.995, allocations: 448.6 kB / 2.304 GB, free: 60.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/4.996, allocations: 202.8 kB / 2.305 GB, free: 60.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/4.997, allocations: 1.081 MB / 2.306 GB, free: 60.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/4.997, allocations: 9.719 kB / 2.306 GB, free: 60.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/4.997, allocations: 4.344 kB / 2.306 GB, free: 60.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/4.997, allocations: 11.44 kB / 2.306 GB, free: 60.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/5.001, allocations: 2.392 MB / 2.308 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/5.001, allocations: 3 kB / 2.308 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/5.002, allocations: 135.7 kB / 2.308 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/5.002, allocations: 6.594 kB / 2.308 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/5.002, allocations: 16.94 kB / 2.308 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/5.002, allocations: 11.12 kB / 2.308 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/5.002, allocations: 3.125 kB / 2.308 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/5.003, allocations: 1.175 MB / 2.309 GB, free: 59.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/5.004, allocations: 370.7 kB / 2.31 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/5.004, allocations: 17.88 kB / 2.31 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/5.006, allocations: 116 kB / 2.31 GB, free: 59.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/5.006, allocations: 50.55 kB / 2.31 GB, free: 59.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/5.006, allocations: 28.52 kB / 2.31 GB, free: 59.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001998/5.008, allocations: 1.238 MB / 2.311 GB, free: 58.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/5.008, allocations: 0 / 2.311 GB, free: 58.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003699/5.011, allocations: 0.981 MB / 2.312 GB, free: 58.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003453/5.015, allocations: 2.964 MB / 2.315 GB, free: 57.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002906/5.018, allocations: 1.578 MB / 2.317 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/5.018, allocations: 0 / 2.317 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/5.018, allocations: 400.5 kB / 2.317 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005622/5.024, allocations: 1.121 MB / 2.318 GB, free: 57.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/5.032, allocations: 5.866 MB / 2.324 GB, free: 53.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/5.033, allocations: 1.452 MB / 2.325 GB, free: 52.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002032/5.035, allocations: 394.8 kB / 2.326 GB, free: 52.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008813/5.036, allocations: 0.8191 MB / 2.326 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/5.036, allocations: 0 / 2.326 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09812/5.134, allocations: 62.62 MB / 2.387 GB, free: 49.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/5.134, allocations: 254.2 kB / 2.388 GB, free: 49.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.32/9.455, allocations: 0 / 2.388 GB, free: 49.59 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)