Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.384/2.384, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001464, allocations: 188.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 91 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.425e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7846, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.078/6.863, allocations: 2.115 GB / 3.078 GB, free: 2.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/6.863, allocations: 89.53 kB / 3.079 GB, free: 2.371 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.774/11.64, allocations: 0.7953 GB / 3.874 GB, free: 172.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/11.64, allocations: 1.469 kB / 3.874 GB, free: 172.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003169/11.64, allocations: 43.8 kB / 3.874 GB, free: 172.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.007473/11.65, allocations: 1.881 MB / 3.876 GB, free: 171.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/11.65, allocations: 10.5 kB / 3.876 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/11.65, allocations: 427.4 kB / 3.876 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008043/11.66, allocations: 1.85 MB / 3.878 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.088e-05/11.66, allocations: 35.27 kB / 3.878 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/11.66, allocations: 66.56 kB / 3.878 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002728/11.66, allocations: 0.8018 MB / 3.879 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/11.67, allocations: 0.991 MB / 3.88 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/11.67, allocations: 4.875 kB / 3.88 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/11.67, allocations: 1.188 kB / 3.88 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/11.67, allocations: 37.25 kB / 3.88 GB, free: 171 MB / 0.948 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.01212/11.68, allocations: 4.745 MB / 3.884 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/11.68, allocations: 0.8569 MB / 3.885 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/11.68, allocations: 361.7 kB / 3.886 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/11.68, allocations: 105.3 kB / 3.886 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/11.68, allocations: 415.9 kB / 3.886 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00111/11.68, allocations: 66.17 kB / 3.886 GB, free: 168.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 5.14e-06/11.68, allocations: 0 / 3.886 GB, free: 168.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.003371/11.69, allocations: 0.8546 MB / 3.887 GB, free: 168.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/11.69, allocations: 190.6 kB / 3.887 GB, free: 168.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/11.69, allocations: 0.8923 MB / 3.888 GB, free: 168 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003169/11.69, allocations: 28.27 kB / 3.888 GB, free: 168 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008592/11.69, allocations: 0.6639 MB / 3.889 GB, free: 167.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/11.69, allocations: 241.8 kB / 3.889 GB, free: 167.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/11.69, allocations: 4.875 kB / 3.889 GB, free: 167.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001341/11.69, allocations: 345 kB / 3.889 GB, free: 167.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/11.69, allocations: 304.4 kB / 3.89 GB, free: 167.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/11.69, allocations: 0.5816 MB / 3.89 GB, free: 167 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/11.7, allocations: 415.2 kB / 3.891 GB, free: 167 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/11.7, allocations: 1.25 kB / 3.891 GB, free: 167 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003574/11.7, allocations: 1.034 MB / 3.892 GB, free: 166.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004917/11.7, allocations: 2.073 MB / 3.894 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/11.7, allocations: 7.234 kB / 3.894 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/11.7, allocations: 96.88 kB / 3.894 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/11.7, allocations: 204.3 kB / 3.894 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/11.7, allocations: 1.284 MB / 3.895 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/11.71, allocations: 82.92 kB / 3.895 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/11.71, allocations: 53.94 kB / 3.895 GB, free: 163.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/11.71, allocations: 4.469 kB / 3.895 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003288/11.71, allocations: 0.85 MB / 3.896 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/11.71, allocations: 6.594 kB / 3.896 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007479/11.71, allocations: 102.3 kB / 3.896 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/11.71, allocations: 187.2 kB / 3.896 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/11.72, allocations: 2.606 MB / 3.899 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/11.72, allocations: 77.31 kB / 3.899 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/11.72, allocations: 45.91 kB / 3.899 GB, free: 162 MB / 0.948 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 (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004182/11.72, allocations: 141.7 kB / 3.899 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002838/11.72, allocations: 0.7725 MB / 3.9 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/11.72, allocations: 135.1 kB / 3.9 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/11.73, allocations: 0.8506 MB / 3.901 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/11.73, allocations: 7.312 kB / 3.901 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/11.73, allocations: 0 / 3.901 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002214/11.73, allocations: 0.7592 MB / 3.902 GB, free: 161.4 MB / 0.948 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.007145/11.74, allocations: 2.069 MB / 3.904 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/11.74, allocations: 4.922 kB / 3.904 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/11.74, allocations: 164.1 kB / 3.904 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/11.74, allocations: 61.27 kB / 3.904 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/11.74, allocations: 16.11 kB / 3.904 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008077/11.74, allocations: 1.2 MB / 3.905 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/11.74, allocations: 4.797 kB / 3.905 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/11.74, allocations: 1.335 MB / 3.906 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/11.74, allocations: 286.3 kB / 3.907 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/11.75, allocations: 3.969 kB / 3.907 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/11.75, allocations: 89.22 kB / 3.907 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/11.75, allocations: 51.78 kB / 3.907 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/11.75, allocations: 30.95 kB / 3.907 GB, free: 159.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001504/11.75, allocations: 0.6749 MB / 3.908 GB, free: 159.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.082e-06/11.75, allocations: 0 / 3.908 GB, free: 159.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005562/11.75, allocations: 1.015 MB / 3.909 GB, free: 159.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[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 (67): * Single equations (assignments): 63 * 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.009855/11.76, allocations: 4.936 MB / 3.913 GB, free: 157.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004046/11.77, allocations: 1.549 MB / 3.915 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/11.77, allocations: 3.906 kB / 3.915 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/11.77, allocations: 355.1 kB / 3.915 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/11.77, allocations: 0.5787 MB / 3.916 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007426/11.78, allocations: 2.403 MB / 3.918 GB, free: 156.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009597/11.78, allocations: 1.32 MB / 3.919 GB, free: 155.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003212/11.79, allocations: 462 kB / 3.92 GB, free: 155.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/11.79, allocations: 0.5434 MB / 3.92 GB, free: 155.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/11.79, allocations: 3.281 kB / 3.92 GB, free: 155.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/11.97, allocations: 56.52 MB / 3.976 GB, free: 153.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/11.97, allocations: 169.5 kB / 3.976 GB, free: 153 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.239/17.21, allocations: 0 / 3.976 GB, free: 153 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)