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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.58/2.58, allocations: 390.4 MB / 0.6655 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003756, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8086, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1504/0.959, allocations: 142.7 MB / 1.093 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.041/1, allocations: 28.63 MB / 1.121 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006889/1.007, allocations: 123.1 kB / 1.121 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003407/1.01, allocations: 0.6827 MB / 1.122 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009552/1.02, allocations: 2.512 MB / 1.124 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006108/1.026, allocations: 2.007 MB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009098/1.035, allocations: 6.256 MB / 1.132 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003787/1.039, allocations: 1.669 MB / 1.134 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005931/1.045, allocations: 2.216 MB / 1.136 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/1.049, allocations: 1.793 MB / 1.138 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007312/1.049, allocations: 96 kB / 1.138 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/1.052, allocations: 0.8578 MB / 1.139 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007962/1.053, allocations: 414 kB / 1.139 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.054, allocations: 468.5 kB / 1.14 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/1.057, allocations: 2.408 MB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.057, allocations: 4 kB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.893e-06/1.057, allocations: 0 / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001072/1.058, allocations: 0 / 1.142 GB, free: 14.89 MB / 0.9044 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.004597/1.062, allocations: 2.375 MB / 1.144 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.062, allocations: 16.02 kB / 1.144 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002995/1.063, allocations: 169.4 kB / 1.145 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/1.063, allocations: 268.8 kB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/1.065, allocations: 1.362 MB / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/1.065, allocations: 110.2 kB / 1.146 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/1.065, allocations: 140 kB / 1.146 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/1.067, allocations: 1.156 MB / 1.148 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.067, allocations: 0 / 1.148 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-05/1.068, allocations: 44 kB / 1.148 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/1.068, allocations: 28 kB / 1.148 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/1.069, allocations: 1.02 MB / 1.149 GB, free: 8.035 MB / 0.9044 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.009258/1.079, allocations: 6.361 MB / 1.155 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/1.08, allocations: 0.577 MB / 1.155 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/1.08, allocations: 386.4 kB / 1.156 GB, free: 244 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/1.081, allocations: 0.507 MB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.081, allocations: 35.12 kB / 1.156 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001428/1.082, allocations: 334.7 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 4.128e-06/1.082, allocations: 4 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.001902/1.084, allocations: 1.129 MB / 1.158 GB, free: 14.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/1.084, allocations: 59.95 kB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/1.086, allocations: 1.877 MB / 1.16 GB, free: 12.14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-05/1.086, allocations: 49.7 kB / 1.16 GB, free: 12.08 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/1.087, allocations: 0.9261 MB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.087, allocations: 197.1 kB / 1.161 GB, free: 10.95 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/1.087, allocations: 28 kB / 1.161 GB, free: 10.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.088, allocations: 349.9 kB / 1.161 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/1.088, allocations: 418.4 kB / 1.162 GB, free: 10.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009162/1.089, allocations: 0.6528 MB / 1.162 GB, free: 9.434 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/1.09, allocations: 0.5022 MB / 1.163 GB, free: 8.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.09, allocations: 176 / 1.163 GB, free: 8.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002489/1.093, allocations: 1.369 MB / 1.164 GB, free: 7.551 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.093, allocations: 186.3 kB / 1.164 GB, free: 7.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.093, allocations: 8 kB / 1.164 GB, free: 7.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.093, allocations: 8 kB / 1.164 GB, free: 7.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.094, allocations: 295.5 kB / 1.164 GB, free: 7.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/1.094, allocations: 12 kB / 1.164 GB, free: 7.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.096, allocations: 155.5 kB / 1.165 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/1.096, allocations: 63.95 kB / 1.165 GB, free: 6.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/1.096, allocations: 6.031 kB / 1.165 GB, free: 6.789 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/1.098, allocations: 1.14 MB / 1.166 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.098, allocations: 4 kB / 1.166 GB, free: 5.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/1.098, allocations: 11.95 kB / 1.166 GB, free: 5.633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.099, allocations: 283.6 kB / 1.166 GB, free: 5.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.099, allocations: 8.188 kB / 1.166 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.1, allocations: 151.6 kB / 1.166 GB, free: 5.199 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/1.101, allocations: 63.89 kB / 1.166 GB, free: 5.137 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0008273/1.101, allocations: 444.8 kB / 1.167 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/1.102, allocations: 201.4 kB / 1.167 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/1.104, allocations: 1.091 MB / 1.168 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/1.104, allocations: 11.98 kB / 1.168 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.104, allocations: 0 / 1.168 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.104, allocations: 4.078 kB / 1.168 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/1.108, allocations: 2.414 MB / 1.17 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.108, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/1.108, allocations: 143.8 kB / 1.171 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.108, allocations: 4 kB / 1.171 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/1.108, allocations: 16 kB / 1.171 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.108, allocations: 7.984 kB / 1.171 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.108, allocations: 0 / 1.171 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/1.11, allocations: 1.062 MB / 1.172 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/1.111, allocations: 370.3 kB / 1.172 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/1.111, allocations: 16 kB / 1.172 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/1.112, allocations: 107.6 kB / 1.172 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/1.112, allocations: 52.52 kB / 1.172 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/1.112, allocations: 27.78 kB / 1.172 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001767/1.114, allocations: 1.233 MB / 1.173 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.114, allocations: 4 kB / 1.173 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002126/1.116, allocations: 0.9044 MB / 1.174 GB, free: 12.88 MB / 0.9356 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.002244/1.118, allocations: 1.832 MB / 1.176 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002674/1.121, allocations: 1.591 MB / 1.178 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.121, allocations: 0 / 1.178 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005988/1.121, allocations: 403.9 kB / 1.178 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/1.126, allocations: 1.137 MB / 1.179 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.146, allocations: 11.25 MB / 1.19 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000909/1.147, allocations: 1.405 MB / 1.191 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002061/1.149, allocations: 400.4 kB / 1.192 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.15, allocations: 0.8312 MB / 1.193 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/1.15, allocations: 7.938 kB / 1.193 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08497/1.235, allocations: 53.82 MB / 1.245 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.235, allocations: 256.1 kB / 1.245 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.774/5.009, allocations: 0 / 1.245 GB, free: 3.609 MB / 0.9981 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