Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.618/2.618, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001375/0.001375, allocations: 180.3 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009604/0.0009603, allocations: 91.31 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.061e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.701, allocations: 429.2 MB / 1.632 GB, free: 1.414 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004805/1.702, allocations: 102.4 kB / 1.632 GB, free: 1.359 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.047/6.749, allocations: 1.123 GB / 2.755 GB, free: 173.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.519e-06/6.749, allocations: 3.312 kB / 2.755 GB, free: 173.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000535/6.749, allocations: 66.83 kB / 2.755 GB, free: 173.1 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.008455/6.758, allocations: 2.322 MB / 2.757 GB, free: 172.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/6.758, allocations: 13.19 kB / 2.757 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000866/6.759, allocations: 175.7 kB / 2.757 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/6.76, allocations: 274.6 kB / 2.757 GB, free: 172.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006343/6.767, allocations: 1.593 MB / 2.759 GB, free: 171.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/6.767, allocations: 107.4 kB / 2.759 GB, free: 171.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008303/6.768, allocations: 147.2 kB / 2.759 GB, free: 171.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/6.772, allocations: 1.116 MB / 2.76 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/6.772, allocations: 0 / 2.76 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/6.772, allocations: 51.94 kB / 2.76 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/6.772, allocations: 31.95 kB / 2.76 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/6.775, allocations: 0.9508 MB / 2.761 GB, free: 171.6 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.01563/6.79, allocations: 6.378 MB / 2.768 GB, free: 169 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/6.792, allocations: 0.5699 MB / 2.768 GB, free: 169 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/6.792, allocations: 388.7 kB / 2.768 GB, free: 168.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/6.793, allocations: 0.5105 MB / 2.769 GB, free: 168.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/6.793, allocations: 40.97 kB / 2.769 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002829/6.796, allocations: 475.9 kB / 2.769 GB, free: 168.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 1.103e-05/6.796, allocations: 0 / 2.769 GB, free: 168.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.002307/6.798, allocations: 0.8268 MB / 2.77 GB, free: 168.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/6.798, allocations: 63.17 kB / 2.77 GB, free: 168.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/6.802, allocations: 1.622 MB / 2.772 GB, free: 167.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003622/6.802, allocations: 48.98 kB / 2.772 GB, free: 167.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/6.804, allocations: 0.9312 MB / 2.773 GB, free: 167.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/6.804, allocations: 206.9 kB / 2.773 GB, free: 167.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/6.804, allocations: 21.72 kB / 2.773 GB, free: 167.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001195/6.804, allocations: 351.9 kB / 2.773 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007933/6.805, allocations: 390.8 kB / 2.774 GB, free: 167.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/6.806, allocations: 0.7225 MB / 2.774 GB, free: 166.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009846/6.807, allocations: 492 kB / 2.775 GB, free: 166.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/6.807, allocations: 3.312 kB / 2.775 GB, free: 166.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002856/6.81, allocations: 1.291 MB / 2.776 GB, free: 166.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/6.81, allocations: 0.9297 MB / 2.777 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/6.81, allocations: 6.062 kB / 2.777 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-05/6.81, allocations: 7.812 kB / 2.777 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/6.812, allocations: 278 kB / 2.777 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/6.812, allocations: 9.844 kB / 2.777 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/6.814, allocations: 170.6 kB / 2.778 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/6.815, allocations: 59.36 kB / 2.778 GB, free: 165.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/6.815, allocations: 11.05 kB / 2.778 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/6.817, allocations: 1.061 MB / 2.779 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/6.817, allocations: 3.75 kB / 2.779 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/6.817, allocations: 9.125 kB / 2.779 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/6.818, allocations: 271.5 kB / 2.779 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/6.818, allocations: 10.05 kB / 2.779 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/6.82, allocations: 177 kB / 2.779 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/6.821, allocations: 54.95 kB / 2.779 GB, free: 165.5 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 (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.0004383/6.821, allocations: 175.9 kB / 2.779 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/6.822, allocations: 203.2 kB / 2.78 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/6.824, allocations: 1.032 MB / 2.781 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/6.825, allocations: 13.05 kB / 2.781 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/6.825, allocations: 0 / 2.781 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/6.825, allocations: 7.188 kB / 2.781 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/6.83, allocations: 2.363 MB / 2.783 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/6.83, allocations: 0 / 2.783 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/6.831, allocations: 136.3 kB / 2.783 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/6.831, allocations: 7.375 kB / 2.783 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/6.831, allocations: 21.72 kB / 2.783 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/6.831, allocations: 3.375 kB / 2.783 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.831, allocations: 3.969 kB / 2.783 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/6.833, allocations: 1.132 MB / 2.784 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/6.834, allocations: 372.1 kB / 2.785 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007923/6.835, allocations: 16.41 kB / 2.785 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/6.837, allocations: 113.4 kB / 2.785 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/6.837, allocations: 60.22 kB / 2.785 GB, free: 164.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/6.837, allocations: 26.88 kB / 2.785 GB, free: 164.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002859/6.84, allocations: 1.221 MB / 2.786 GB, free: 163.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.11e-07/6.84, allocations: 0 / 2.786 GB, free: 163.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005295/6.846, allocations: 0.9857 MB / 2.787 GB, free: 163.8 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.004405/6.85, allocations: 2.918 MB / 2.79 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003573/6.854, allocations: 1.576 MB / 2.791 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/6.854, allocations: 0 / 2.791 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/6.854, allocations: 377.7 kB / 2.792 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006798/6.861, allocations: 1.125 MB / 2.793 GB, free: 162.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009136/6.87, allocations: 2.597 MB / 2.795 GB, free: 161.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/6.872, allocations: 1.454 MB / 2.797 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003924/6.876, allocations: 0.5183 MB / 2.797 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/6.877, allocations: 0.7917 MB / 2.798 GB, free: 160.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/6.877, allocations: 3 kB / 2.798 GB, free: 160.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/7.005, allocations: 67.82 MB / 2.864 GB, free: 157.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/7.006, allocations: 220.2 kB / 2.864 GB, free: 157.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.407/12.41, allocations: 0 / 2.864 GB, free: 157.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat does not exist to compare? outputFormat=mat