Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.3 MB / 303.2 MB, free: 8.211 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.001646/0.001646, allocations: 179.7 kB / 371.8 MB, free: 10.31 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.756/1.756, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009205/0.0009204, allocations: 102.8 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005128, allocations: 16.2 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2758, allocations: 115.3 MB / 0.9794 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9476/1.224, allocations: 253.2 MB / 1.227 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.04277/1.266, allocations: 26.51 MB / 1.253 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/1.271, allocations: 63.56 kB / 1.253 GB, free: 484 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004571/1.275, allocations: 1.042 MB / 1.254 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/1.287, allocations: 2.897 MB / 1.257 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/1.299, allocations: 2.859 MB / 1.259 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008423/1.308, allocations: 2.829 MB / 1.262 GB, free: 6.859 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/1.311, allocations: 1.408 MB / 1.263 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/1.316, allocations: 1.596 MB / 1.265 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/1.318, allocations: 0.8595 MB / 1.266 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/1.318, allocations: 71.94 kB / 1.266 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/1.323, allocations: 1.673 MB / 1.268 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005292/1.324, allocations: 450.5 kB / 1.268 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008989/1.325, allocations: 460.7 kB / 1.268 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00472/1.329, allocations: 3.226 MB / 1.272 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.329, allocations: 0 / 1.272 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.194e-06/1.329, allocations: 0 / 1.272 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.164e-05/1.33, allocations: 4 kB / 1.272 GB, free: 13.07 MB / 0.8073 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.004381/1.334, allocations: 2.064 MB / 1.274 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.334, allocations: 12.02 kB / 1.274 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/1.339, allocations: 0.8755 MB / 1.274 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/1.343, allocations: 1.914 MB / 1.276 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006726/1.344, allocations: 230.5 kB / 1.277 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/1.344, allocations: 139.9 kB / 1.277 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/1.348, allocations: 1.649 MB / 1.278 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/1.348, allocations: 7.891 kB / 1.278 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.348, allocations: 52 kB / 1.278 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/1.348, allocations: 46.52 kB / 1.278 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/1.352, allocations: 1.497 MB / 1.28 GB, free: 4.402 MB / 0.8073 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.01187/1.364, allocations: 7.395 MB / 1.287 GB, free: 12.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/1.367, allocations: 0.7302 MB / 1.288 GB, free: 11.77 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.513e-05/1.367, allocations: 16.61 kB / 1.288 GB, free: 11.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.367, allocations: 30.56 kB / 1.288 GB, free: 11.71 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008135/1.368, allocations: 94.8 kB / 1.288 GB, free: 11.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=37): time 2.725e-06/1.368, allocations: 0 / 1.288 GB, free: 11.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=37): time 0.003248/1.371, allocations: 1.329 MB / 1.289 GB, free: 10.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/1.371, allocations: 55.41 kB / 1.289 GB, free: 10.13 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/1.374, allocations: 1.839 MB / 1.291 GB, free: 8.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/1.374, allocations: 37.7 kB / 1.291 GB, free: 8.207 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008834/1.375, allocations: 0.8235 MB / 1.292 GB, free: 7.375 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.375, allocations: 130.2 kB / 1.292 GB, free: 7.246 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/1.375, allocations: 12 kB / 1.292 GB, free: 7.234 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.375, allocations: 326 kB / 1.292 GB, free: 6.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.377, allocations: 425 kB / 1.293 GB, free: 6.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.378, allocations: 0.6508 MB / 1.293 GB, free: 5.734 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/1.379, allocations: 457.4 kB / 1.294 GB, free: 5.289 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.379, allocations: 0 / 1.294 GB, free: 5.289 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003292/1.383, allocations: 1.401 MB / 1.295 GB, free: 3.836 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001211/1.384, allocations: 2.558 MB / 1.298 GB, free: 1.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.384, allocations: 4.094 kB / 1.298 GB, free: 1.086 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/1.384, allocations: 65.56 kB / 1.298 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.385, allocations: 223.7 kB / 1.298 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/1.388, allocations: 2.817 MB / 1.301 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.39, allocations: 286.4 kB / 1.301 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/1.39, allocations: 47.97 kB / 1.301 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/1.39, allocations: 4 kB / 1.301 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002645/1.393, allocations: 1.151 MB / 1.302 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.393, allocations: 8 kB / 1.302 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/1.393, allocations: 61.69 kB / 1.302 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/1.394, allocations: 200 kB / 1.302 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/1.396, allocations: 2.825 MB / 1.305 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.398, allocations: 208.6 kB / 1.305 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/1.398, allocations: 31.98 kB / 1.305 GB, free: 8.598 MB / 0.8386 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.001258/1.399, allocations: 0.5164 MB / 1.306 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/1.4, allocations: 169.8 kB / 1.306 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/1.402, allocations: 0.9406 MB / 1.307 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.402, allocations: 12.03 kB / 1.307 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.402, allocations: 3.984 kB / 1.307 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.402, allocations: 0 / 1.307 GB, free: 6.887 MB / 0.8386 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.003912/1.406, allocations: 2.235 MB / 1.309 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.406, allocations: 0 / 1.309 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/1.406, allocations: 104 kB / 1.309 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/1.406, allocations: 57.62 kB / 1.309 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/1.406, allocations: 15.95 kB / 1.309 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.408, allocations: 2.821 MB / 1.312 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.408, allocations: 3.953 kB / 1.312 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.41, allocations: 1.055 MB / 1.313 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/1.411, allocations: 334.8 kB / 1.313 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/1.411, allocations: 15.89 kB / 1.313 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.412, allocations: 131.9 kB / 1.314 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/1.412, allocations: 39.78 kB / 1.314 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/1.412, allocations: 19.97 kB / 1.314 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002352/1.415, allocations: 1.309 MB / 1.315 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.41e-07/1.415, allocations: 0 / 1.315 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002513/1.417, allocations: 0.7641 MB / 1.316 GB, free: 13.43 MB / 0.8542 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.0007176/1.418, allocations: 306.9 kB / 1.316 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004251/1.422, allocations: 1.716 MB / 1.318 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.422, allocations: 320 / 1.318 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008976/1.423, allocations: 0.4974 MB / 1.318 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/1.428, allocations: 0.9665 MB / 1.319 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.433, allocations: 3.114 MB / 1.322 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.434, allocations: 1.39 MB / 1.323 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001891/1.436, allocations: 374.9 kB / 1.324 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/1.436, allocations: 119.4 kB / 1.324 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of SimCode: time 1.222e-06/1.436, allocations: 0 / 1.324 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of Templates: time 0.0622/1.498, allocations: 33.04 MB / 1.356 GB, free: 4.035 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)