Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.0006403, allocations: 19.44 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.61/0.6106, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9632/1.574, allocations: 253.7 MB / 0.9757 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04151/1.615, allocations: 26.63 MB / 1.002 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004625/1.62, allocations: 63.56 kB / 1.002 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005809/1.626, allocations: 1.053 MB / 1.003 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01515/1.641, allocations: 2.916 MB / 1.006 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01436/1.656, allocations: 2.883 MB / 1.008 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009932/1.666, allocations: 2.838 MB / 1.011 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/1.67, allocations: 1.412 MB / 1.013 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00524/1.675, allocations: 1.542 MB / 1.014 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/1.678, allocations: 0.9165 MB / 1.015 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007908/1.679, allocations: 66.69 kB / 1.015 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006956/1.686, allocations: 1.558 MB / 1.017 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.687, allocations: 450.9 kB / 1.017 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/1.688, allocations: 461.1 kB / 1.017 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00603/1.694, allocations: 3.154 MB / 1.021 GB, free: 36 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.694, allocations: 4 kB / 1.021 GB, free: 32 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/1.695, allocations: 2.875 kB / 1.021 GB, free: 32 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001576/1.695, allocations: 0 / 1.021 GB, free: 32 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006066/1.701, allocations: 2.046 MB / 1.023 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.701, allocations: 9.875 kB / 1.023 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/1.706, allocations: 0.8347 MB / 1.023 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/1.711, allocations: 1.921 MB / 1.025 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007495/1.712, allocations: 242.7 kB / 1.026 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005291/1.712, allocations: 135.3 kB / 1.026 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/1.716, allocations: 1.643 MB / 1.027 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/1.717, allocations: 2.438 kB / 1.027 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/1.717, allocations: 58.53 kB / 1.027 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/1.717, allocations: 47.83 kB / 1.027 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003887/1.721, allocations: 1.497 MB / 1.029 GB, free: 12.75 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0136/1.734, allocations: 7.403 MB / 1.036 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/1.737, allocations: 0.7243 MB / 1.037 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-05/1.737, allocations: 14.53 kB / 1.037 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.737, allocations: 48.33 kB / 1.037 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009248/1.738, allocations: 81.25 kB / 1.037 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 5.901e-06/1.738, allocations: 0 / 1.037 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.003497/1.742, allocations: 1.317 MB / 1.038 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.742, allocations: 55.41 kB / 1.038 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/1.745, allocations: 1.852 MB / 1.04 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.745, allocations: 36.58 kB / 1.04 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008369/1.746, allocations: 0.8143 MB / 1.041 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/1.746, allocations: 136.8 kB / 1.041 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/1.747, allocations: 8.312 kB / 1.041 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.747, allocations: 341.2 kB / 1.041 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.748, allocations: 407.2 kB / 1.042 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/1.749, allocations: 0.6573 MB / 1.042 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/1.751, allocations: 458.8 kB / 1.043 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.751, allocations: 4 kB / 1.043 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003783/1.754, allocations: 1.393 MB / 1.044 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.756, allocations: 2.56 MB / 1.047 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/1.756, allocations: 10.62 kB / 1.047 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/1.756, allocations: 62.72 kB / 1.047 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.757, allocations: 217.4 kB / 1.047 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/1.76, allocations: 2.818 MB / 1.05 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/1.762, allocations: 279.7 kB / 1.05 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.762, allocations: 37.91 kB / 1.05 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.762, allocations: 4 kB / 1.05 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003468/1.766, allocations: 1.157 MB / 1.051 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/1.766, allocations: 4 kB / 1.051 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/1.766, allocations: 66.09 kB / 1.051 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.767, allocations: 203 kB / 1.051 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/1.77, allocations: 2.817 MB / 1.054 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.773, allocations: 218.9 kB / 1.054 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/1.773, allocations: 31.8 kB / 1.054 GB, free: 7.445 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001899/1.775, allocations: 0.5226 MB / 1.055 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007503/1.776, allocations: 161.9 kB / 1.055 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/1.779, allocations: 0.9349 MB / 1.056 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.779, allocations: 4 kB / 1.056 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.779, allocations: 4 kB / 1.056 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.779, allocations: 7.984 kB / 1.056 GB, free: 6.164 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006569/1.786, allocations: 2.238 MB / 1.058 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.786, allocations: 3.984 kB / 1.058 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/1.787, allocations: 94.58 kB / 1.058 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/1.787, allocations: 48.2 kB / 1.058 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/1.787, allocations: 17.73 kB / 1.058 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/1.79, allocations: 2.825 MB / 1.061 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.79, allocations: 0 / 1.061 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/1.793, allocations: 1.081 MB / 1.062 GB, free: 344 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.795, allocations: 331.8 kB / 1.062 GB, free: 64 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000774/1.795, allocations: 6.625 kB / 1.062 GB, free: 60 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.798, allocations: 137.6 kB / 1.063 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/1.798, allocations: 27.16 kB / 1.063 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/1.798, allocations: 19.23 kB / 1.063 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004088/1.802, allocations: 1.312 MB / 1.064 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.4e-07/1.802, allocations: 0 / 1.064 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004781/1.807, allocations: 0.7557 MB / 1.065 GB, free: 14.21 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/1.808, allocations: 299.2 kB / 1.065 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004805/1.813, allocations: 1.724 MB / 1.067 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.813, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.814, allocations: 0.4932 MB / 1.067 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005411/1.819, allocations: 0.9721 MB / 1.068 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/1.826, allocations: 3.106 MB / 1.071 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.827, allocations: 1.379 MB / 1.072 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002508/1.83, allocations: 374.9 kB / 1.073 GB, free: 6.746 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/1.83, allocations: 122.2 kB / 1.073 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of SimCode: time 2.294e-06/1.83, allocations: 6.906 kB / 1.073 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of Templates: time 0.06493/1.895, allocations: 32.81 MB / 1.105 GB, free: 6.332 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) Environment - environmentSimulation: