Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.324/2.324, 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.001051/0.001051, allocations: 184.9 kB / 487.4 MB, free: 5.023 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.655/1.655, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001065/0.001065, allocations: 95.89 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.331e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3089, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.671, allocations: 436.7 MB / 1.633 GB, free: 1.844 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.672, allocations: 87.58 kB / 1.633 GB, free: 1.801 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.14/4.811, allocations: 0.7719 GB / 2.404 GB, free: 225.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.523e-06/4.811, allocations: 0 / 2.404 GB, free: 225.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002468/4.811, allocations: 52.11 kB / 2.405 GB, free: 225.1 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005075/4.817, allocations: 1.981 MB / 2.406 GB, free: 223.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/4.817, allocations: 13.83 kB / 2.406 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004472/4.821, allocations: 0.7256 MB / 2.407 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02888/4.85, allocations: 14.36 MB / 2.421 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.303e-05/4.85, allocations: 39.34 kB / 2.421 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/4.85, allocations: 68.56 kB / 2.421 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001585/4.852, allocations: 0.8879 MB / 2.422 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/4.854, allocations: 1.085 MB / 2.423 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/4.854, allocations: 7.75 kB / 2.423 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/4.854, allocations: 0 / 2.423 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/4.854, allocations: 28 kB / 2.423 GB, free: 213.3 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.008435/4.862, allocations: 5.678 MB / 2.429 GB, free: 207.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/4.864, allocations: 0.8438 MB / 2.43 GB, free: 206.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/4.865, allocations: 360.5 kB / 2.43 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003945/4.868, allocations: 2.817 MB / 2.433 GB, free: 203.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/4.869, allocations: 47.06 kB / 2.433 GB, free: 203 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006537/4.869, allocations: 62.78 kB / 2.433 GB, free: 203 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 4.649e-06/4.869, allocations: 0 / 2.433 GB, free: 203 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.002619/4.872, allocations: 0.9929 MB / 2.434 GB, free: 202 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/4.872, allocations: 55.97 kB / 2.434 GB, free: 201.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/4.874, allocations: 1.2 MB / 2.435 GB, free: 200.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/4.874, allocations: 32.42 kB / 2.435 GB, free: 200.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/4.874, allocations: 0.8536 MB / 2.436 GB, free: 199.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/4.874, allocations: 201 kB / 2.436 GB, free: 199.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/4.874, allocations: 0 / 2.436 GB, free: 199.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/4.875, allocations: 341.9 kB / 2.436 GB, free: 199.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/4.875, allocations: 318.5 kB / 2.437 GB, free: 198.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/4.876, allocations: 0.7366 MB / 2.437 GB, free: 198 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/4.877, allocations: 0.5136 MB / 2.438 GB, free: 197.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/4.877, allocations: 4 kB / 2.438 GB, free: 197.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003487/4.881, allocations: 1.354 MB / 2.439 GB, free: 196.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007442/4.881, allocations: 4.333 MB / 2.443 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/4.881, allocations: 15.94 kB / 2.444 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/4.882, allocations: 201.2 kB / 2.444 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/4.883, allocations: 226.1 kB / 2.444 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/4.884, allocations: 1.878 MB / 2.446 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/4.886, allocations: 101.3 kB / 2.446 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/4.886, allocations: 79.95 kB / 2.446 GB, free: 188.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/4.886, allocations: 5.719 kB / 2.446 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002979/4.889, allocations: 1.081 MB / 2.447 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/4.889, allocations: 12 kB / 2.447 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/4.889, allocations: 215.9 kB / 2.447 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/4.89, allocations: 218 kB / 2.447 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004178/4.894, allocations: 3.743 MB / 2.451 GB, free: 183.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/4.896, allocations: 93.38 kB / 2.451 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/4.896, allocations: 66.69 kB / 2.451 GB, free: 183.3 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/4.897, allocations: 140.7 kB / 2.451 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002627/4.899, allocations: 0.9035 MB / 2.452 GB, free: 182.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/4.899, allocations: 161.9 kB / 2.452 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/4.902, allocations: 1.209 MB / 2.454 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/4.902, allocations: 12 kB / 2.454 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/4.902, allocations: 5.672 kB / 2.454 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/4.902, allocations: 3.984 kB / 2.454 GB, free: 180.9 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 postOpt removeSimpleEquations (simulation): time 0.004727/4.907, allocations: 2.314 MB / 2.456 GB, free: 178.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/4.907, allocations: 0 / 2.456 GB, free: 178.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/4.908, allocations: 135 kB / 2.456 GB, free: 178.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/4.908, allocations: 153.6 kB / 2.456 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/4.908, allocations: 19.97 kB / 2.456 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008963/4.909, allocations: 1.779 MB / 2.458 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/4.909, allocations: 4.031 kB / 2.458 GB, free: 176.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/4.912, allocations: 1.256 MB / 2.459 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008782/4.912, allocations: 337.1 kB / 2.459 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/4.913, allocations: 4 kB / 2.459 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/4.914, allocations: 84.7 kB / 2.46 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/4.914, allocations: 48.48 kB / 2.46 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/4.914, allocations: 35.97 kB / 2.46 GB, free: 174.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001308/4.916, allocations: 0.9043 MB / 2.46 GB, free: 173.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 3e-07/4.916, allocations: 0 / 2.46 GB, free: 173.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00433/4.92, allocations: 1.017 MB / 2.461 GB, free: 172.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005369/4.925, allocations: 3.392 MB / 2.465 GB, free: 169.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003053/4.928, allocations: 1.528 MB / 2.466 GB, free: 167.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/4.928, allocations: 0 / 2.466 GB, free: 167.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/4.929, allocations: 409.2 kB / 2.467 GB, free: 167.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/4.933, allocations: 0.6873 MB / 2.467 GB, free: 166.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/4.939, allocations: 2.543 MB / 2.47 GB, free: 164.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/4.94, allocations: 1.43 MB / 2.471 GB, free: 162.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002529/4.943, allocations: 0.5801 MB / 2.472 GB, free: 162.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007539/4.944, allocations: 0.6711 MB / 2.472 GB, free: 161.6 MB / 1.151 GB Notification: Performance of SimCode: time 9.81e-07/4.944, allocations: 0 / 2.472 GB, free: 161.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09968/5.043, allocations: 54.91 MB / 2.526 GB, free: 107.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/5.044, allocations: 175.2 kB / 2.526 GB, free: 107.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/8.937, allocations: 0 / 2.526 GB, free: 107.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat does not exist to compare? outputFormat=mat