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.642/2.642, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001883/0.001883, allocations: 180.2 kB / 492.3 MB, free: 0.6211 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.76/1.76, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009176/0.0009178, allocations: 81.7 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.096e-05/6.143e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.371, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.718, allocations: 396.8 MB / 1.6 GB, free: 1.176 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.718, allocations: 95.09 kB / 1.6 GB, free: 1.125 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.712/3.43, allocations: 417.6 MB / 2.008 GB, free: 194.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.302e-06/3.43, allocations: 3.938 kB / 2.008 GB, free: 194.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001133/3.43, allocations: 27.98 kB / 2.008 GB, free: 194.6 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.002606/3.433, allocations: 1.052 MB / 2.009 GB, free: 193.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/3.433, allocations: 8.031 kB / 2.009 GB, free: 193.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/3.433, allocations: 86.52 kB / 2.009 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/3.433, allocations: 107.2 kB / 2.009 GB, free: 193.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/3.435, allocations: 0.5703 MB / 2.01 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/3.435, allocations: 44.94 kB / 2.01 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/3.435, allocations: 60 kB / 2.01 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/3.435, allocations: 374.5 kB / 2.01 GB, free: 192.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/3.435, allocations: 0 / 2.01 GB, free: 192.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/3.436, allocations: 20 kB / 2.01 GB, free: 192.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/3.436, allocations: 12 kB / 2.01 GB, free: 192.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/3.436, allocations: 256 kB / 2.01 GB, free: 192 MB / 1.151 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.002941/3.439, allocations: 1.861 MB / 2.012 GB, free: 189.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/3.439, allocations: 163.5 kB / 2.012 GB, free: 189.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/3.439, allocations: 68.8 kB / 2.012 GB, free: 189.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/3.44, allocations: 336.4 kB / 2.013 GB, free: 189.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/3.44, allocations: 34.56 kB / 2.013 GB, free: 189.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/3.44, allocations: 0 / 2.013 GB, free: 189.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0004842/3.44, allocations: 222.1 kB / 2.013 GB, free: 189 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/3.44, allocations: 55.41 kB / 2.013 GB, free: 189 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/3.441, allocations: 0.5899 MB / 2.014 GB, free: 188.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/3.441, allocations: 33.7 kB / 2.014 GB, free: 188.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/3.441, allocations: 368.7 kB / 2.014 GB, free: 188 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/3.441, allocations: 67.09 kB / 2.014 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/3.441, allocations: 4 kB / 2.014 GB, free: 187.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001025/3.441, allocations: 374.8 kB / 2.014 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/3.441, allocations: 84.73 kB / 2.015 GB, free: 187.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/3.442, allocations: 197.6 kB / 2.015 GB, free: 187.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/3.442, allocations: 113.5 kB / 2.015 GB, free: 187.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/3.442, allocations: 0 / 2.015 GB, free: 187.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005682/3.442, allocations: 354.6 kB / 2.015 GB, free: 186.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/3.443, allocations: 274.9 kB / 2.015 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/3.443, allocations: 0 / 2.015 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/3.443, allocations: 8 kB / 2.015 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/3.444, allocations: 131.7 kB / 2.016 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009756/3.444, allocations: 2.364 MB / 2.018 GB, free: 183.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/3.445, allocations: 95.78 kB / 2.018 GB, free: 183.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/3.445, allocations: 19.94 kB / 2.018 GB, free: 183.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/3.445, allocations: 8 kB / 2.018 GB, free: 183.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003809/3.446, allocations: 252 kB / 2.018 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/3.446, allocations: 0 / 2.018 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/3.446, allocations: 4 kB / 2.018 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/3.446, allocations: 103.8 kB / 2.018 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/3.446, allocations: 4 kB / 2.018 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/3.447, allocations: 83.61 kB / 2.018 GB, free: 183.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/3.447, allocations: 12 kB / 2.018 GB, free: 183.3 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 () * 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.0001126/3.447, allocations: 140.8 kB / 2.019 GB, free: 183.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/3.447, allocations: 71.06 kB / 2.019 GB, free: 183.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/3.448, allocations: 268.8 kB / 2.019 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/3.448, allocations: 8 kB / 2.019 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/3.448, allocations: 7.984 kB / 2.019 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/3.448, allocations: 0 / 2.019 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/3.449, allocations: 0.8578 MB / 2.02 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/3.449, allocations: 4 kB / 2.02 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/3.449, allocations: 76 kB / 2.02 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/3.449, allocations: 4 kB / 2.02 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/3.449, allocations: 11.98 kB / 2.02 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007166/3.45, allocations: 2.356 MB / 2.022 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.45, allocations: 0 / 2.022 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/3.45, allocations: 424.7 kB / 2.023 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/3.451, allocations: 180 kB / 2.023 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/3.451, allocations: 4 kB / 2.023 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008605/3.452, allocations: 59.88 kB / 2.023 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/3.452, allocations: 15.97 kB / 2.023 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/3.452, allocations: 12 kB / 2.023 GB, free: 178.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006792/3.453, allocations: 463.1 kB / 2.023 GB, free: 178.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.21e-07/3.453, allocations: 0 / 2.023 GB, free: 178.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001715/3.454, allocations: 387.4 kB / 2.024 GB, free: 177.7 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 () * 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.001975/3.456, allocations: 1.595 MB / 2.025 GB, free: 176.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001728/3.458, allocations: 429.2 kB / 2.026 GB, free: 175.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/3.458, allocations: 0 / 2.026 GB, free: 175.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/3.458, allocations: 120.9 kB / 2.026 GB, free: 175.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/3.461, allocations: 370.5 kB / 2.026 GB, free: 175.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/3.464, allocations: 0.9147 MB / 2.027 GB, free: 174.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/3.465, allocations: 0.9543 MB / 2.028 GB, free: 173.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00116/3.466, allocations: 165 kB / 2.028 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/3.466, allocations: 239.3 kB / 2.028 GB, free: 172.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.92e-07/3.466, allocations: 0 / 2.028 GB, free: 172.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06505/3.531, allocations: 23.69 MB / 2.051 GB, free: 149.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/3.532, allocations: 239.3 kB / 2.052 GB, free: 149.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/6.548, allocations: 0 / 2.052 GB, free: 149.2 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