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.768/2.768, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001205/0.001205, allocations: 187.3 kB / 0.4901 GB, free: 2.25 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.648/1.648, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008813/0.0008811, allocations: 94.86 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003441, allocations: 14.47 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2594, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.368, allocations: 430 MB / 1.649 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.368, allocations: 106.2 kB / 1.649 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.16/5.528, allocations: 1.126 GB / 2.775 GB, free: 167.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.214e-06/5.528, allocations: 0 / 2.775 GB, free: 167.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002758/5.529, allocations: 70.22 kB / 2.776 GB, free: 167.9 MB / 1.182 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.008324/5.537, allocations: 2.736 MB / 2.778 GB, free: 167.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/5.537, allocations: 9.156 kB / 2.778 GB, free: 167.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005916/5.538, allocations: 176.4 kB / 2.778 GB, free: 167.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/5.539, allocations: 268.6 kB / 2.779 GB, free: 167 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/5.545, allocations: 1.627 MB / 2.78 GB, free: 166.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/5.545, allocations: 111.7 kB / 2.78 GB, free: 166.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003853/5.545, allocations: 148 kB / 2.78 GB, free: 166.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/5.548, allocations: 1.147 MB / 2.782 GB, free: 166.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/5.548, allocations: 4 kB / 2.782 GB, free: 166.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/5.548, allocations: 50.58 kB / 2.782 GB, free: 166.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/5.548, allocations: 28.59 kB / 2.782 GB, free: 166.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/5.55, allocations: 1.015 MB / 2.783 GB, free: 166.6 MB / 1.182 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.01251/5.562, allocations: 6.379 MB / 2.789 GB, free: 164 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/5.564, allocations: 0.5914 MB / 2.789 GB, free: 164 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/5.564, allocations: 0.5146 MB / 2.79 GB, free: 163.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/5.564, allocations: 36.75 kB / 2.79 GB, free: 163.4 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002776/5.567, allocations: 470.4 kB / 2.79 GB, free: 163.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=58): time 5.239e-06/5.567, allocations: 0 / 2.79 GB, free: 163.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=58): time 0.002469/5.569, allocations: 1.142 MB / 2.792 GB, free: 163.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/5.569, allocations: 61.59 kB / 2.792 GB, free: 163.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/5.572, allocations: 1.652 MB / 2.793 GB, free: 162.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/5.572, allocations: 47.55 kB / 2.793 GB, free: 162.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/5.573, allocations: 0.9196 MB / 2.794 GB, free: 162.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/5.573, allocations: 202.7 kB / 2.794 GB, free: 162.6 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/5.573, allocations: 23.56 kB / 2.794 GB, free: 162.6 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/5.573, allocations: 347.8 kB / 2.795 GB, free: 162.3 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/5.574, allocations: 408.2 kB / 2.795 GB, free: 162.3 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/5.575, allocations: 0.7433 MB / 2.796 GB, free: 161.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/5.576, allocations: 0.4927 MB / 2.796 GB, free: 161.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/5.576, allocations: 0 / 2.796 GB, free: 161.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002412/5.578, allocations: 1.322 MB / 2.798 GB, free: 161.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.000183/5.578, allocations: 0.9301 MB / 2.799 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/5.578, allocations: 2.031 kB / 2.799 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/5.578, allocations: 11.31 kB / 2.799 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/5.58, allocations: 272 kB / 2.799 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/5.58, allocations: 10.75 kB / 2.799 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/5.582, allocations: 164 kB / 2.799 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/5.582, allocations: 63.25 kB / 2.799 GB, free: 160.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/5.582, allocations: 3.594 kB / 2.799 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001855/5.584, allocations: 1.094 MB / 2.8 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/5.584, allocations: 6.828 kB / 2.8 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/5.584, allocations: 6.969 kB / 2.8 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/5.585, allocations: 265.7 kB / 2.8 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/5.585, allocations: 6.75 kB / 2.8 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/5.588, allocations: 166.2 kB / 2.801 GB, free: 160.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/5.588, allocations: 57.27 kB / 2.801 GB, free: 160.7 MB / 1.182 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 (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.001026/5.589, allocations: 448.5 kB / 2.801 GB, free: 160.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/5.589, allocations: 208.4 kB / 2.801 GB, free: 160.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/5.591, allocations: 1.077 MB / 2.802 GB, free: 160.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/5.591, allocations: 11.33 kB / 2.802 GB, free: 160.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/5.591, allocations: 2.719 kB / 2.802 GB, free: 160.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/5.591, allocations: 7.109 kB / 2.802 GB, free: 160.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/5.595, allocations: 2.395 MB / 2.805 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/5.595, allocations: 3.156 kB / 2.805 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/5.596, allocations: 137.7 kB / 2.805 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/5.596, allocations: 2.781 kB / 2.805 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/5.596, allocations: 23.06 kB / 2.805 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/5.596, allocations: 3.781 kB / 2.805 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/5.596, allocations: 0 / 2.805 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/5.597, allocations: 1.181 MB / 2.806 GB, free: 159.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/5.598, allocations: 374.6 kB / 2.806 GB, free: 159.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/5.598, allocations: 13.5 kB / 2.806 GB, free: 159.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/5.599, allocations: 112.2 kB / 2.806 GB, free: 159.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/5.599, allocations: 60.52 kB / 2.806 GB, free: 159.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/5.599, allocations: 24.2 kB / 2.806 GB, free: 159.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001469/5.601, allocations: 1.251 MB / 2.808 GB, free: 159.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.5e-07/5.601, allocations: 0 / 2.808 GB, free: 159.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002649/5.604, allocations: 0.9605 MB / 2.809 GB, free: 159 MB / 1.182 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.002965/5.607, allocations: 2.966 MB / 2.812 GB, free: 157.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002418/5.609, allocations: 1.545 MB / 2.813 GB, free: 157.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/5.609, allocations: 2.938 kB / 2.813 GB, free: 157.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/5.609, allocations: 402.2 kB / 2.813 GB, free: 157.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005498/5.615, allocations: 1.118 MB / 2.815 GB, free: 157.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/5.623, allocations: 5.87 MB / 2.82 GB, free: 153.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/5.624, allocations: 1.451 MB / 2.822 GB, free: 153.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002508/5.626, allocations: 398.8 kB / 2.822 GB, free: 153.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/5.627, allocations: 0.8185 MB / 2.823 GB, free: 153.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.62e-05/5.627, allocations: 0 / 2.823 GB, free: 153.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09878/5.726, allocations: 62.63 MB / 2.884 GB, free: 151.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/5.726, allocations: 251.8 kB / 2.884 GB, free: 151.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.591/10.32, allocations: 0 / 2.884 GB, free: 151.1 MB / 1.182 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