Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.31/2.31, allocations: 390.3 MB / 402.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 172.1 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.3 MB / 0.7915 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 91.91 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.492e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2628, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.4, allocations: 430 MB / 1.639 GB, free: 4.484 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.4, allocations: 96.72 kB / 1.639 GB, free: 4.391 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 4.336/5.736, allocations: 1.123 GB / 2.762 GB, free: 175.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.713e-06/5.736, allocations: 0 / 2.762 GB, free: 175.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002489/5.736, allocations: 75.8 kB / 2.762 GB, free: 175.7 MB / 1.167 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.005015/5.741, allocations: 2.319 MB / 2.764 GB, free: 174.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/5.741, allocations: 9.719 kB / 2.764 GB, free: 174.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002368/5.741, allocations: 177 kB / 2.764 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005699/5.742, allocations: 268.9 kB / 2.764 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/5.745, allocations: 1.599 MB / 2.766 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/5.745, allocations: 111.3 kB / 2.766 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/5.746, allocations: 149.9 kB / 2.766 GB, free: 174 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/5.747, allocations: 1.113 MB / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/5.747, allocations: 3.516 kB / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/5.747, allocations: 55.61 kB / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/5.747, allocations: 28.47 kB / 2.767 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/5.749, allocations: 0.953 MB / 2.768 GB, free: 173.9 MB / 1.167 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.009503/5.758, allocations: 6.371 MB / 2.774 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007799/5.759, allocations: 0.5646 MB / 2.775 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/5.76, allocations: 382 kB / 2.775 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/5.76, allocations: 0.5129 MB / 2.776 GB, free: 170.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/5.76, allocations: 40.38 kB / 2.776 GB, free: 170.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002192/5.762, allocations: 468.5 kB / 2.776 GB, free: 170.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 3.216e-06/5.762, allocations: 2.188 kB / 2.776 GB, free: 170.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.001247/5.764, allocations: 0.8244 MB / 2.777 GB, free: 170.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/5.764, allocations: 59.5 kB / 2.777 GB, free: 170.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/5.766, allocations: 1.627 MB / 2.779 GB, free: 170.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.564e-05/5.766, allocations: 52.3 kB / 2.779 GB, free: 170.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/5.766, allocations: 0.9236 MB / 2.78 GB, free: 169.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/5.766, allocations: 205.9 kB / 2.78 GB, free: 169.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/5.766, allocations: 22.81 kB / 2.78 GB, free: 169.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/5.767, allocations: 348.2 kB / 2.78 GB, free: 169.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/5.767, allocations: 382.1 kB / 2.781 GB, free: 169.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/5.768, allocations: 0.7115 MB / 2.781 GB, free: 169.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/5.769, allocations: 480.8 kB / 2.782 GB, free: 169 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/5.769, allocations: 0 / 2.782 GB, free: 169 MB / 1.167 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001791/5.77, allocations: 1.267 MB / 2.783 GB, free: 168.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002832/5.771, allocations: 0.9456 MB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/5.771, allocations: 0 / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/5.771, allocations: 9.188 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/5.772, allocations: 266.4 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/5.772, allocations: 8.5 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/5.774, allocations: 169.3 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/5.774, allocations: 59.72 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/5.774, allocations: 5.969 kB / 2.784 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/5.775, allocations: 1.042 MB / 2.785 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/5.776, allocations: 3.969 kB / 2.785 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/5.776, allocations: 7 kB / 2.785 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/5.777, allocations: 264.9 kB / 2.786 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/5.777, allocations: 8.859 kB / 2.786 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/5.778, allocations: 165 kB / 2.786 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/5.778, allocations: 56.5 kB / 2.786 GB, free: 167.8 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0002256/5.779, allocations: 163.1 kB / 2.786 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/5.779, allocations: 205.5 kB / 2.786 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/5.781, allocations: 1.037 MB / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/5.781, allocations: 10.59 kB / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/5.781, allocations: 0 / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/5.781, allocations: 7.219 kB / 2.787 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/5.784, allocations: 2.354 MB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/5.784, allocations: 0 / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/5.785, allocations: 138 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/5.785, allocations: 3.875 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/5.785, allocations: 25.16 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/5.785, allocations: 4.062 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/5.785, allocations: 4.125 kB / 2.79 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/5.786, allocations: 1.136 MB / 2.791 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/5.787, allocations: 375.9 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/5.787, allocations: 13.03 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/5.788, allocations: 112.8 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/5.788, allocations: 54.64 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/5.788, allocations: 25.7 kB / 2.791 GB, free: 166.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00148/5.79, allocations: 1.225 MB / 2.793 GB, free: 166.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.79, allocations: 0 / 2.793 GB, free: 166.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002603/5.792, allocations: 0.9752 MB / 2.794 GB, free: 166.1 MB / 1.167 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 () * 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.00274/5.795, allocations: 2.909 MB / 2.796 GB, free: 164.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002408/5.797, allocations: 1.539 MB / 2.798 GB, free: 164.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/5.797, allocations: 0 / 2.798 GB, free: 164.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/5.798, allocations: 379.1 kB / 2.798 GB, free: 164.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/5.804, allocations: 1.133 MB / 2.799 GB, free: 164.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/5.81, allocations: 2.588 MB / 2.802 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/5.811, allocations: 1.459 MB / 2.803 GB, free: 162.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003268/5.814, allocations: 0.5162 MB / 2.804 GB, free: 162.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/5.815, allocations: 0.7923 MB / 2.805 GB, free: 162.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.463e-06/5.815, allocations: 1.719 kB / 2.805 GB, free: 162.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/5.923, allocations: 67.66 MB / 2.871 GB, free: 126.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/5.923, allocations: 214 kB / 2.871 GB, free: 126.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.904/10.83, allocations: 0 / 2.871 GB, free: 126.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat does not exist to compare? outputFormat=mat