Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.202/2.202, allocations: 248.7 MB / 256.2 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 175.4 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 98.45 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.244e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1943, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.97/7.164, allocations: 2.234 GB / 3.118 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/7.164, allocations: 92.2 kB / 3.118 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.894/11.06, allocations: 0.7728 GB / 3.891 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.743e-06/11.06, allocations: 0 / 3.891 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002647/11.06, allocations: 44.14 kB / 3.891 GB, free: 7.305 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.006532/11.07, allocations: 1.886 MB / 3.893 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/11.07, allocations: 12.03 kB / 3.893 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/11.07, allocations: 429.4 kB / 3.894 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006859/11.08, allocations: 1.847 MB / 3.895 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/11.08, allocations: 32 kB / 3.895 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/11.08, allocations: 68 kB / 3.895 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002566/11.08, allocations: 0.7966 MB / 3.896 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/11.08, allocations: 1.007 MB / 3.897 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/11.08, allocations: 3.953 kB / 3.897 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/11.08, allocations: 0 / 3.897 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-05/11.08, allocations: 38 kB / 3.897 GB, free: 1.031 MB / 0.8698 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.01223/11.1, allocations: 4.766 MB / 3.902 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/11.1, allocations: 0.8587 MB / 3.903 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000956/11.1, allocations: 372.7 kB / 3.903 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/11.1, allocations: 101.7 kB / 3.903 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/11.1, allocations: 416.3 kB / 3.904 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009383/11.1, allocations: 64.77 kB / 3.904 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 4.148e-06/11.1, allocations: 0 / 3.904 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.003305/11.11, allocations: 0.8546 MB / 3.905 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/11.11, allocations: 192.7 kB / 3.905 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/11.11, allocations: 0.8982 MB / 3.906 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/11.11, allocations: 25.7 kB / 3.906 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/11.11, allocations: 0.6689 MB / 3.906 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/11.11, allocations: 244.3 kB / 3.906 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/11.11, allocations: 0 / 3.906 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001933/11.11, allocations: 338 kB / 3.907 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/11.11, allocations: 310.5 kB / 3.907 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/11.11, allocations: 0.5805 MB / 3.908 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/11.11, allocations: 411.1 kB / 3.908 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/11.11, allocations: 4 kB / 3.908 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003494/11.12, allocations: 1.039 MB / 3.909 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001023/11.12, allocations: 2.067 MB / 3.911 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/11.12, allocations: 8 kB / 3.911 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/11.12, allocations: 100.7 kB / 3.911 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/11.12, allocations: 199.8 kB / 3.911 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/11.12, allocations: 1.287 MB / 3.913 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/11.12, allocations: 83.92 kB / 3.913 GB, free: 424 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/11.12, allocations: 51.98 kB / 3.913 GB, free: 372 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/11.12, allocations: 4 kB / 3.913 GB, free: 368 kB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6829/11.81, allocations: 0.8399 MB / 3.914 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/11.81, allocations: 8.234 kB / 3.914 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000766/11.81, allocations: 105.1 kB / 3.914 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/11.81, allocations: 188.8 kB / 3.914 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006625/11.82, allocations: 2.586 MB / 3.916 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/11.82, allocations: 82.66 kB / 3.917 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003244/11.82, allocations: 47.59 kB / 3.917 GB, free: 141.3 MB / 0.8855 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.0004011/11.82, allocations: 134.8 kB / 3.917 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003001/11.82, allocations: 0.7661 MB / 3.917 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/11.82, allocations: 135.5 kB / 3.918 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/11.83, allocations: 0.8504 MB / 3.918 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/11.83, allocations: 8.266 kB / 3.918 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/11.83, allocations: 0 / 3.918 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002184/11.83, allocations: 0.7585 MB / 3.919 GB, free: 140.9 MB / 0.8855 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.007222/11.84, allocations: 2.067 MB / 3.921 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/11.84, allocations: 2.328 kB / 3.921 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/11.84, allocations: 163.5 kB / 3.921 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/11.84, allocations: 59.91 kB / 3.921 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/11.84, allocations: 13.41 kB / 3.921 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007948/11.84, allocations: 1.205 MB / 3.923 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/11.84, allocations: 1.094 kB / 3.923 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/11.84, allocations: 1.341 MB / 3.924 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/11.84, allocations: 280.5 kB / 3.924 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/11.84, allocations: 9.672 kB / 3.924 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/11.85, allocations: 91.66 kB / 3.924 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/11.85, allocations: 53.19 kB / 3.924 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/11.85, allocations: 31.53 kB / 3.924 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001973/11.85, allocations: 0.6841 MB / 3.925 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.42e-07/11.85, allocations: 0.7812 kB / 3.925 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005274/11.85, allocations: 1.011 MB / 3.926 GB, free: 138.7 MB / 0.8855 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.01022/11.86, allocations: 4.926 MB / 3.931 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004333/11.87, allocations: 1.536 MB / 3.932 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/11.87, allocations: 5.438 kB / 3.932 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/11.87, allocations: 350.4 kB / 3.933 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005397/11.87, allocations: 0.5813 MB / 3.933 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/11.88, allocations: 2.415 MB / 3.936 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/11.88, allocations: 1.322 MB / 3.937 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003697/11.89, allocations: 461.8 kB / 3.937 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/11.89, allocations: 0.5416 MB / 3.938 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/11.89, allocations: 0 / 3.938 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1603/12.05, allocations: 56.66 MB / 3.993 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/12.05, allocations: 159.8 kB / 3.993 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.227/17.28, allocations: 0 / 3.993 GB, free: 133.7 MB / 0.8855 GB