Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001189/0.001189, allocations: 187.3 kB / 498.1 MB, free: 5.684 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.417/1.417, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009146/0.0009147, allocations: 96.08 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 6.969 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2416, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9088/1.151, allocations: 396.8 MB / 1.61 GB, free: 0.5 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/1.151, allocations: 98.69 kB / 1.611 GB, free: 456 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.403/2.554, allocations: 418.8 MB / 2.02 GB, free: 287.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.174e-06/2.554, allocations: 0 / 2.02 GB, free: 287.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001013/2.554, allocations: 30.75 kB / 2.02 GB, free: 287.8 MB / 1.151 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.002632/2.557, allocations: 1.192 MB / 2.021 GB, free: 286.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/2.557, allocations: 12.02 kB / 2.021 GB, free: 286.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/2.557, allocations: 86.52 kB / 2.021 GB, free: 286.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/2.557, allocations: 103.1 kB / 2.021 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/2.558, allocations: 0.5866 MB / 2.021 GB, free: 285.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/2.559, allocations: 41 kB / 2.022 GB, free: 285.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/2.559, allocations: 60 kB / 2.022 GB, free: 285.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/2.559, allocations: 394.4 kB / 2.022 GB, free: 285.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/2.559, allocations: 3.938 kB / 2.022 GB, free: 285.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/2.559, allocations: 22.94 kB / 2.022 GB, free: 285.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/2.559, allocations: 12 kB / 2.022 GB, free: 285.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/2.56, allocations: 303.7 kB / 2.022 GB, free: 284.9 MB / 1.151 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.002904/2.563, allocations: 1.852 MB / 2.024 GB, free: 283 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/2.563, allocations: 177.1 kB / 2.024 GB, free: 282.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/2.563, allocations: 342.7 kB / 2.025 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/2.564, allocations: 30.56 kB / 2.025 GB, free: 282.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/2.564, allocations: 0 / 2.025 GB, free: 282.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0007287/2.564, allocations: 321.2 kB / 2.025 GB, free: 282 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/2.564, allocations: 58.41 kB / 2.025 GB, free: 281.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/2.565, allocations: 0.5937 MB / 2.026 GB, free: 281.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/2.565, allocations: 41.64 kB / 2.026 GB, free: 281.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/2.565, allocations: 368.1 kB / 2.026 GB, free: 280.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/2.565, allocations: 67 kB / 2.026 GB, free: 280.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/2.565, allocations: 4 kB / 2.026 GB, free: 280.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/2.565, allocations: 377.5 kB / 2.026 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/2.566, allocations: 100.7 kB / 2.026 GB, free: 280.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/2.566, allocations: 219.8 kB / 2.027 GB, free: 280.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/2.566, allocations: 130.9 kB / 2.027 GB, free: 280 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.566, allocations: 0 / 2.027 GB, free: 280 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006493/2.567, allocations: 392.8 kB / 2.027 GB, free: 279.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/2.567, allocations: 274.7 kB / 2.027 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/2.567, allocations: 3.75 kB / 2.027 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/2.567, allocations: 112 / 2.027 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/2.568, allocations: 138.9 kB / 2.028 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009455/2.569, allocations: 2.37 MB / 2.03 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/2.57, allocations: 89.25 kB / 2.03 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/2.57, allocations: 19.98 kB / 2.03 GB, free: 276.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/2.57, allocations: 4.625 kB / 2.03 GB, free: 276.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004944/2.57, allocations: 290.5 kB / 2.03 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/2.57, allocations: 2.812 kB / 2.03 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.491e-06/2.57, allocations: 4 kB / 2.03 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/2.571, allocations: 103.6 kB / 2.03 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/2.571, allocations: 4 kB / 2.03 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/2.571, allocations: 85.42 kB / 2.03 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/2.571, allocations: 15.95 kB / 2.03 GB, free: 276.2 MB / 1.151 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 () * Number of clocked 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.0002572/2.572, allocations: 273 kB / 2.031 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/2.572, allocations: 71.06 kB / 2.031 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/2.572, allocations: 315.6 kB / 2.031 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/2.572, allocations: 4 kB / 2.031 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.572, allocations: 0 / 2.031 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/2.572, allocations: 2.906 kB / 2.031 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/2.574, allocations: 0.9058 MB / 2.032 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/2.574, allocations: 0 / 2.032 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/2.574, allocations: 71.83 kB / 2.032 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/2.574, allocations: 6.719 kB / 2.032 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/2.574, allocations: 8 kB / 2.032 GB, free: 274.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006884/2.575, allocations: 2.357 MB / 2.034 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/2.575, allocations: 0 / 2.034 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/2.575, allocations: 452.1 kB / 2.035 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/2.575, allocations: 176 kB / 2.035 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/2.575, allocations: 4 kB / 2.035 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/2.576, allocations: 57.78 kB / 2.035 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/2.576, allocations: 23.92 kB / 2.035 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/2.576, allocations: 8 kB / 2.035 GB, free: 271.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000438/2.576, allocations: 467 kB / 2.036 GB, free: 270.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.61e-07/2.576, allocations: 0 / 2.036 GB, free: 270.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001054/2.577, allocations: 406.6 kB / 2.036 GB, free: 270.4 MB / 1.151 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 () * Number of clocked 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.001416/2.579, allocations: 1.634 MB / 2.038 GB, free: 268.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001248/2.58, allocations: 463.4 kB / 2.038 GB, free: 268.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.58, allocations: 4 kB / 2.038 GB, free: 268.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/2.581, allocations: 136.1 kB / 2.038 GB, free: 268.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/2.582, allocations: 362.3 kB / 2.038 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/2.584, allocations: 2.041 MB / 2.04 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/2.585, allocations: 0.9491 MB / 2.041 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004325/2.585, allocations: 119.6 kB / 2.041 GB, free: 264.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/2.585, allocations: 255.3 kB / 2.042 GB, free: 264.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/2.585, allocations: 0 / 2.042 GB, free: 264.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/2.622, allocations: 21.94 MB / 2.063 GB, free: 243 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/2.622, allocations: 271.9 kB / 2.063 GB, free: 242.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/5.56, allocations: 0 / 2.063 GB, free: 242.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat does not exist to compare? outputFormat=mat