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.581/2.581, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001272/0.001272, allocations: 184.6 kB / 487.4 MB, free: 5.027 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.555/1.555, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009677/0.0009677, allocations: 95.84 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.859e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3108, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.597, allocations: 396.1 MB / 1.593 GB, free: 9.574 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/1.598, allocations: 90.23 kB / 1.593 GB, free: 9.527 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.447/3.045, allocations: 414.9 MB / 1.998 GB, free: 208.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/3.045, allocations: 0 / 1.998 GB, free: 208.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.61e-05/3.045, allocations: 20 kB / 1.998 GB, free: 208.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.001602/3.047, allocations: 1.048 MB / 1.999 GB, free: 207.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/3.047, allocations: 12.03 kB / 1.999 GB, free: 207.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/3.047, allocations: 99.16 kB / 1.999 GB, free: 207.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/3.048, allocations: 0.5822 MB / 2 GB, free: 206.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/3.048, allocations: 16 kB / 2 GB, free: 206.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/3.048, allocations: 36 kB / 2 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003937/3.049, allocations: 238.6 kB / 2 GB, free: 206.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/3.049, allocations: 316 kB / 2 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/3.049, allocations: 0 / 2 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/3.049, allocations: 0 / 2 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/3.049, allocations: 12 kB / 2 GB, free: 206.2 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.002239/3.051, allocations: 1.744 MB / 2.002 GB, free: 204.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/3.052, allocations: 154.5 kB / 2.002 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/3.052, allocations: 62.56 kB / 2.002 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/3.052, allocations: 344.4 kB / 2.003 GB, free: 203.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/3.052, allocations: 38.56 kB / 2.003 GB, free: 203.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/3.052, allocations: 0 / 2.003 GB, free: 203.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0004595/3.052, allocations: 212.8 kB / 2.003 GB, free: 203.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/3.052, allocations: 59.28 kB / 2.003 GB, free: 203.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/3.053, allocations: 487.7 kB / 2.003 GB, free: 202.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/3.053, allocations: 29.7 kB / 2.003 GB, free: 202.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/3.053, allocations: 368.2 kB / 2.004 GB, free: 202.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/3.053, allocations: 59.11 kB / 2.004 GB, free: 202.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/3.053, allocations: 0 / 2.004 GB, free: 202.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001105/3.053, allocations: 374.8 kB / 2.004 GB, free: 202 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/3.053, allocations: 80.73 kB / 2.004 GB, free: 201.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/3.054, allocations: 185.2 kB / 2.004 GB, free: 201.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/3.054, allocations: 121.6 kB / 2.005 GB, free: 201.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/3.054, allocations: 3.938 kB / 2.005 GB, free: 201.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000548/3.055, allocations: 339.3 kB / 2.005 GB, free: 201.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/3.055, allocations: 285.1 kB / 2.005 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/3.055, allocations: 0 / 2.005 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/3.055, allocations: 4 kB / 2.005 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/3.056, allocations: 139.8 kB / 2.005 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/3.057, allocations: 2.391 MB / 2.008 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/3.058, allocations: 71.72 kB / 2.008 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/3.058, allocations: 15.98 kB / 2.008 GB, free: 198.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/3.058, allocations: 4 kB / 2.008 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004358/3.058, allocations: 219.8 kB / 2.008 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/3.058, allocations: 8 kB / 2.008 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/3.058, allocations: 3.938 kB / 2.008 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/3.059, allocations: 107.9 kB / 2.008 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/3.059, allocations: 4 kB / 2.008 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/3.059, allocations: 63.78 kB / 2.008 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/3.059, allocations: 11.98 kB / 2.008 GB, free: 197.8 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.0001402/3.059, allocations: 118.1 kB / 2.008 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003481/3.06, allocations: 204.8 kB / 2.008 GB, free: 197.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/3.06, allocations: 59.25 kB / 2.009 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/3.06, allocations: 269.1 kB / 2.009 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/3.061, allocations: 7.984 kB / 2.009 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/3.061, allocations: 0 / 2.009 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/3.061, allocations: 0 / 2.009 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/3.062, allocations: 0.7839 MB / 2.01 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/3.062, allocations: 0 / 2.01 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/3.062, allocations: 71.89 kB / 2.01 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/3.062, allocations: 7.891 kB / 2.01 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/3.062, allocations: 4 kB / 2.01 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007568/3.063, allocations: 2.364 MB / 2.012 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/3.063, allocations: 0 / 2.012 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/3.063, allocations: 404.6 kB / 2.012 GB, free: 193.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/3.063, allocations: 172.1 kB / 2.012 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/3.063, allocations: 0 / 2.012 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/3.064, allocations: 51.84 kB / 2.013 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/3.064, allocations: 19.97 kB / 2.013 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/3.064, allocations: 8 kB / 2.013 GB, free: 193.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003689/3.064, allocations: 375.2 kB / 2.013 GB, free: 192.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.064, allocations: 0 / 2.013 GB, free: 192.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001296/3.066, allocations: 379.1 kB / 2.013 GB, free: 192.3 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.002032/3.068, allocations: 1.585 MB / 2.015 GB, free: 190.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001352/3.069, allocations: 413 kB / 2.015 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/3.069, allocations: 0 / 2.015 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/3.069, allocations: 111.9 kB / 2.015 GB, free: 190.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/3.071, allocations: 285.3 kB / 2.016 GB, free: 189.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/3.073, allocations: 0.8815 MB / 2.016 GB, free: 189 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/3.074, allocations: 0.9424 MB / 2.017 GB, free: 188 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006158/3.074, allocations: 144.5 kB / 2.018 GB, free: 187.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/3.074, allocations: 239.4 kB / 2.018 GB, free: 187.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/3.074, allocations: 0 / 2.018 GB, free: 187.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04407/3.118, allocations: 17.94 MB / 2.035 GB, free: 169.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/3.119, allocations: 196.3 kB / 2.035 GB, free: 169.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/5.78, allocations: 0 / 2.035 GB, free: 169.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