Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Examples.ClosedLoop_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.288/2.288, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001483/0.001483, allocations: 192.8 kB / 487.4 MB, free: 5.059 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.576/1.576, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.001082/0.001082, allocations: 91.47 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.823e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.835/5.109, allocations: 1.948 GB / 3.154 GB, free: 414 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/5.109, allocations: 88.52 kB / 3.154 GB, free: 413.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.343/7.452, allocations: 0.8033 GB / 3.957 GB, free: 28.43 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.192e-06/7.453, allocations: 4 kB / 3.957 GB, free: 28.43 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002679/7.453, allocations: 40.2 kB / 3.957 GB, free: 28.39 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.006138/7.459, allocations: 1.84 MB / 3.959 GB, free: 26.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/7.459, allocations: 12.03 kB / 3.959 GB, free: 26.48 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/7.463, allocations: 0.5014 MB / 3.959 GB, free: 25.98 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/7.468, allocations: 1.842 MB / 3.961 GB, free: 24.08 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/7.468, allocations: 36 kB / 3.961 GB, free: 24.05 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/7.469, allocations: 64 kB / 3.961 GB, free: 23.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001888/7.471, allocations: 0.8122 MB / 3.962 GB, free: 23.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/7.473, allocations: 0.9765 MB / 3.963 GB, free: 22.16 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/7.473, allocations: 0 / 3.963 GB, free: 22.16 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/7.473, allocations: 11.94 kB / 3.963 GB, free: 22.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/7.473, allocations: 34 kB / 3.963 GB, free: 22.11 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.007011/7.48, allocations: 4.785 MB / 3.968 GB, free: 17.01 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/7.481, allocations: 0.8895 MB / 3.968 GB, free: 16.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/7.482, allocations: 371.6 kB / 3.969 GB, free: 15.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/7.482, allocations: 114.7 kB / 3.969 GB, free: 15.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/7.483, allocations: 420.4 kB / 3.969 GB, free: 15.17 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009397/7.484, allocations: 75.33 kB / 3.969 GB, free: 15.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 5.159e-06/7.484, allocations: 0 / 3.969 GB, free: 15.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.002443/7.486, allocations: 0.8664 MB / 3.97 GB, free: 14.22 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/7.486, allocations: 111.6 kB / 3.97 GB, free: 14.09 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/7.488, allocations: 0.8774 MB / 3.971 GB, free: 13.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/7.488, allocations: 29.7 kB / 3.971 GB, free: 13.17 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/7.489, allocations: 0.6532 MB / 3.972 GB, free: 12.51 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/7.489, allocations: 248.4 kB / 3.972 GB, free: 12.26 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/7.489, allocations: 0 / 3.972 GB, free: 12.26 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/7.489, allocations: 337.9 kB / 3.972 GB, free: 11.93 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/7.49, allocations: 302.5 kB / 3.973 GB, free: 11.63 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/7.49, allocations: 0.5583 MB / 3.973 GB, free: 10.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/7.491, allocations: 408.6 kB / 3.974 GB, free: 10.57 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/7.491, allocations: 0 / 3.974 GB, free: 10.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001969/7.493, allocations: 1.023 MB / 3.975 GB, free: 9.535 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005435/7.494, allocations: 2.068 MB / 3.977 GB, free: 7.332 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/7.494, allocations: 7.938 kB / 3.977 GB, free: 7.324 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/7.494, allocations: 96.78 kB / 3.977 GB, free: 7.227 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/7.495, allocations: 227.7 kB / 3.977 GB, free: 7.004 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/7.496, allocations: 1.275 MB / 3.978 GB, free: 5.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/7.498, allocations: 95.97 kB / 3.978 GB, free: 5.586 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/7.498, allocations: 51.97 kB / 3.978 GB, free: 5.535 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/7.498, allocations: 8 kB / 3.978 GB, free: 5.527 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00159/7.499, allocations: 0.8351 MB / 3.979 GB, free: 4.691 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/7.499, allocations: 4 kB / 3.979 GB, free: 4.688 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/7.5, allocations: 104.8 kB / 3.979 GB, free: 4.582 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/7.501, allocations: 203.9 kB / 3.98 GB, free: 4.383 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/7.504, allocations: 2.599 MB / 3.982 GB, free: 1.594 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/7.506, allocations: 99.81 kB / 3.982 GB, free: 1.496 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/7.506, allocations: 44.08 kB / 3.982 GB, free: 1.453 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002707/7.506, allocations: 133.9 kB / 3.982 GB, free: 1.316 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00151/7.507, allocations: 0.7845 MB / 3.983 GB, free: 0.5234 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/7.508, allocations: 134.3 kB / 3.983 GB, free: 400 kB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8157/8.323, allocations: 0.8607 MB / 3.984 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/8.324, allocations: 12.59 kB / 3.984 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/8.324, allocations: 0 / 3.984 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/8.325, allocations: 0.774 MB / 3.985 GB, free: 224.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 postOpt removeSimpleEquations (simulation): time 0.004961/8.33, allocations: 2.115 MB / 3.987 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/8.33, allocations: 2.75 kB / 3.987 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/8.331, allocations: 179.2 kB / 3.987 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/8.331, allocations: 61.41 kB / 3.987 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/8.331, allocations: 12.12 kB / 3.987 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006075/8.332, allocations: 1.202 MB / 3.988 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/8.332, allocations: 8.25 kB / 3.988 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/8.335, allocations: 1.366 MB / 3.99 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008559/8.336, allocations: 284.3 kB / 3.99 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/8.336, allocations: 6.562 kB / 3.99 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009602/8.337, allocations: 91.7 kB / 3.99 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/8.337, allocations: 63.19 kB / 3.99 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.929e-05/8.337, allocations: 30.55 kB / 3.99 GB, free: 222.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001374/8.338, allocations: 0.6671 MB / 3.991 GB, free: 222.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.31e-07/8.338, allocations: 0 / 3.991 GB, free: 222.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003951/8.342, allocations: 0.9589 MB / 3.992 GB, free: 222.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008586/8.351, allocations: 4.987 MB / 3.997 GB, free: 220.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003861/8.355, allocations: 1.487 MB / 3.998 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/8.355, allocations: 2.875 kB / 3.998 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008887/8.356, allocations: 367.5 kB / 3.998 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/8.359, allocations: 0.5732 MB / 3.999 GB, free: 220.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/8.366, allocations: 2.42 MB / 4.001 GB, free: 219.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/8.367, allocations: 1.313 MB / 4.003 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00256/8.369, allocations: 483.2 kB / 4.003 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007884/8.37, allocations: 0.5312 MB / 4.004 GB, free: 218.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.463e-06/8.37, allocations: 0 / 4.004 GB, free: 218.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/8.489, allocations: 55.14 MB / 4.057 GB, free: 218.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/8.489, allocations: 160.4 kB / 4.058 GB, free: 217.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.067/12.56, allocations: 0 / 4.058 GB, free: 217.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat does not exist to compare? outputFormat=mat