Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.989/1.989, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001313/0.001313, allocations: 172.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.00101/0.00101, allocations: 89.12 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.989e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6367, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.155/5.792, allocations: 2.116 GB / 3.09 GB, free: 340.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/5.792, allocations: 92.12 kB / 3.09 GB, free: 340.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.946/8.738, allocations: 0.7953 GB / 3.885 GB, free: 175.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/8.738, allocations: 0 / 3.885 GB, free: 175.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001721/8.739, allocations: 44.12 kB / 3.885 GB, free: 175.3 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.004953/8.744, allocations: 1.879 MB / 3.887 GB, free: 174.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/8.744, allocations: 10.56 kB / 3.887 GB, free: 174.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/8.746, allocations: 425.7 kB / 3.887 GB, free: 174.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/8.751, allocations: 1.848 MB / 3.889 GB, free: 174.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/8.751, allocations: 30.78 kB / 3.889 GB, free: 174.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/8.751, allocations: 61.78 kB / 3.889 GB, free: 174.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001445/8.752, allocations: 0.8018 MB / 3.89 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/8.754, allocations: 0.9962 MB / 3.891 GB, free: 173.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/8.754, allocations: 2.156 kB / 3.891 GB, free: 173.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/8.754, allocations: 7.703 kB / 3.891 GB, free: 173.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/8.754, allocations: 34.78 kB / 3.891 GB, free: 173.9 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.005975/8.76, allocations: 4.75 MB / 3.896 GB, free: 171.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/8.761, allocations: 0.861 MB / 3.896 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/8.762, allocations: 365.6 kB / 3.897 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/8.762, allocations: 105.2 kB / 3.897 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000608/8.763, allocations: 420 kB / 3.897 GB, free: 171.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005898/8.763, allocations: 60.2 kB / 3.897 GB, free: 171.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.868e-06/8.763, allocations: 2.812 kB / 3.897 GB, free: 171.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.001751/8.765, allocations: 0.8526 MB / 3.898 GB, free: 171.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/8.765, allocations: 192.3 kB / 3.898 GB, free: 171.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/8.766, allocations: 0.8955 MB / 3.899 GB, free: 170.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/8.766, allocations: 28.45 kB / 3.899 GB, free: 170.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/8.767, allocations: 0.6577 MB / 3.9 GB, free: 170.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/8.767, allocations: 235.9 kB / 3.9 GB, free: 170.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/8.767, allocations: 3.625 kB / 3.9 GB, free: 170.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/8.767, allocations: 342.8 kB / 3.9 GB, free: 170.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/8.768, allocations: 308.2 kB / 3.901 GB, free: 170.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/8.768, allocations: 0.5857 MB / 3.901 GB, free: 169.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/8.769, allocations: 412.6 kB / 3.902 GB, free: 169.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/8.769, allocations: 3.812 kB / 3.902 GB, free: 169.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001626/8.771, allocations: 1.035 MB / 3.903 GB, free: 169.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004393/8.771, allocations: 2.078 MB / 3.905 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/8.771, allocations: 7.812 kB / 3.905 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/8.771, allocations: 94.03 kB / 3.905 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008491/8.772, allocations: 206.4 kB / 3.905 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006826/8.773, allocations: 1.279 MB / 3.906 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/8.774, allocations: 84.56 kB / 3.906 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/8.774, allocations: 53.48 kB / 3.906 GB, free: 166.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/8.774, allocations: 3.5 kB / 3.906 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001629/8.776, allocations: 0.8502 MB / 3.907 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/8.776, allocations: 7.219 kB / 3.907 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/8.776, allocations: 105.3 kB / 3.907 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/8.777, allocations: 185.8 kB / 3.908 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/8.781, allocations: 2.607 MB / 3.91 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/8.782, allocations: 78.06 kB / 3.91 GB, free: 164.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/8.782, allocations: 45.14 kB / 3.91 GB, free: 164.9 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.0002832/8.782, allocations: 131.7 kB / 3.91 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001357/8.784, allocations: 0.773 MB / 3.911 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/8.784, allocations: 137.6 kB / 3.911 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/8.785, allocations: 0.8458 MB / 3.912 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/8.785, allocations: 7.781 kB / 3.912 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/8.785, allocations: 0 / 3.912 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/8.787, allocations: 0.7625 MB / 3.913 GB, free: 164.3 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.003512/8.79, allocations: 2.066 MB / 3.915 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/8.79, allocations: 3.625 kB / 3.915 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/8.791, allocations: 169.8 kB / 3.915 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/8.791, allocations: 59.09 kB / 3.915 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/8.791, allocations: 18.94 kB / 3.915 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005546/8.792, allocations: 1.195 MB / 3.916 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/8.792, allocations: 0 / 3.916 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/8.794, allocations: 1.344 MB / 3.917 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/8.794, allocations: 275.9 kB / 3.918 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/8.794, allocations: 11.39 kB / 3.918 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/8.795, allocations: 92.61 kB / 3.918 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/8.795, allocations: 45.59 kB / 3.918 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/8.795, allocations: 26.08 kB / 3.918 GB, free: 162.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009751/8.796, allocations: 0.6753 MB / 3.919 GB, free: 162.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/8.796, allocations: 3.656 kB / 3.919 GB, free: 162.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003589/8.8, allocations: 1.021 MB / 3.92 GB, free: 162 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.007355/8.807, allocations: 4.939 MB / 3.924 GB, free: 160.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00333/8.811, allocations: 1.536 MB / 3.926 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/8.811, allocations: 0 / 3.926 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/8.812, allocations: 359.4 kB / 3.926 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/8.815, allocations: 0.5929 MB / 3.927 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/8.821, allocations: 2.407 MB / 3.929 GB, free: 159 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/8.822, allocations: 1.316 MB / 3.93 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001951/8.824, allocations: 467.3 kB / 3.931 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/8.825, allocations: 0.5401 MB / 3.931 GB, free: 158.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/8.825, allocations: 3.281 kB / 3.931 GB, free: 158.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/8.926, allocations: 56.52 MB / 3.987 GB, free: 155.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/8.926, allocations: 159.5 kB / 3.987 GB, free: 155.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/13.4, allocations: 0 / 3.987 GB, free: 155.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)