Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.0008835, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008907/0.0008908, allocations: 168.7 kB / 15.95 MB, free: 200 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.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.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.0005359/0.0005363, allocations: 18.3 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2585, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.8175/1.076, allocations: 285.5 MB / 1.066 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0335/1.11, allocations: 28.1 MB / 1.094 GB, free: 2.246 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/1.113, allocations: 67.56 kB / 1.094 GB, free: 2.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003838/1.117, allocations: 0.9704 MB / 1.095 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006797/1.124, allocations: 2.182 MB / 1.097 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005369/1.129, allocations: 1.751 MB / 1.098 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00985/1.139, allocations: 5.119 MB / 1.103 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/1.142, allocations: 1.393 MB / 1.105 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005964/1.148, allocations: 1.805 MB / 1.107 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/1.151, allocations: 1.256 MB / 1.108 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003676/1.152, allocations: 68 kB / 1.108 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005967/1.158, allocations: 2.007 MB / 1.11 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007641/1.158, allocations: 498.1 kB / 1.11 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009206/1.159, allocations: 468.6 kB / 1.111 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005106/1.164, allocations: 3.409 MB / 1.114 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.165, allocations: 4 kB / 1.114 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.694e-06/1.165, allocations: 0 / 1.114 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.968e-05/1.165, allocations: 0 / 1.114 GB, free: 13.19 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00374/1.168, allocations: 2.123 MB / 1.116 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.168, allocations: 8.031 kB / 1.116 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/1.173, allocations: 0.8677 MB / 1.117 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/1.176, allocations: 1.938 MB / 1.119 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/1.177, allocations: 234.5 kB / 1.119 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/1.177, allocations: 136 kB / 1.119 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003367/1.181, allocations: 1.674 MB / 1.121 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.181, allocations: 8 kB / 1.121 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/1.181, allocations: 52 kB / 1.121 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/1.181, allocations: 54.52 kB / 1.121 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/1.184, allocations: 1.501 MB / 1.122 GB, free: 4.414 MB / 0.8262 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.01003/1.194, allocations: 7.545 MB / 1.13 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/1.198, allocations: 1.184 MB / 1.131 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/1.199, allocations: 452.3 kB / 1.131 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/1.199, allocations: 202.2 kB / 1.132 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/1.199, allocations: 38.5 kB / 1.132 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008177/1.2, allocations: 158.9 kB / 1.132 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=38): time 2.805e-06/1.2, allocations: 0 / 1.132 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38): time 0.003632/1.204, allocations: 1.327 MB / 1.133 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.204, allocations: 55.41 kB / 1.133 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/1.206, allocations: 1.572 MB / 1.135 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/1.206, allocations: 33.7 kB / 1.135 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006619/1.207, allocations: 0.834 MB / 1.135 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/1.207, allocations: 138 kB / 1.136 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/1.207, allocations: 8 kB / 1.136 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.207, allocations: 330 kB / 1.136 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/1.208, allocations: 425 kB / 1.136 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/1.209, allocations: 0.6664 MB / 1.137 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.21, allocations: 461.3 kB / 1.137 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/1.21, allocations: 0 / 1.137 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00278/1.213, allocations: 1.198 MB / 1.139 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.213, allocations: 276 kB / 1.139 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.213, allocations: 8 kB / 1.139 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/1.213, allocations: 12 kB / 1.139 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.215, allocations: 239.6 kB / 1.139 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004322/1.215, allocations: 0.6055 MB / 1.14 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.217, allocations: 192.4 kB / 1.14 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/1.217, allocations: 35.98 kB / 1.14 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.217, allocations: 4.094 kB / 1.14 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002188/1.219, allocations: 0.9637 MB / 1.141 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.219, allocations: 11.95 kB / 1.141 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.219, allocations: 12 kB / 1.141 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008397/1.22, allocations: 204 kB / 1.141 GB, free: 404 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/1.22, allocations: 15.94 kB / 1.141 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.221, allocations: 172.3 kB / 1.141 GB, free: 216 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/1.221, allocations: 35.92 kB / 1.141 GB, free: 180 kB / 0.8419 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 (73): * Single equations (assignments): 71 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001032/1.222, allocations: 0.5232 MB / 1.142 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/1.223, allocations: 161.9 kB / 1.142 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/1.225, allocations: 0.9894 MB / 1.143 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.225, allocations: 4 kB / 1.143 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.225, allocations: 0 / 1.143 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.225, allocations: 11.98 kB / 1.143 GB, free: 14.46 MB / 0.8575 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.004955/1.23, allocations: 2.417 MB / 1.145 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.23, allocations: 0 / 1.145 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/1.231, allocations: 172 kB / 1.145 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/1.231, allocations: 4 kB / 1.145 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/1.231, allocations: 11.98 kB / 1.146 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003007/1.232, allocations: 0.6054 MB / 1.146 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.232, allocations: 0 / 1.146 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/1.234, allocations: 1.071 MB / 1.147 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/1.235, allocations: 330.8 kB / 1.147 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/1.235, allocations: 11.95 kB / 1.147 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.236, allocations: 151.8 kB / 1.148 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/1.236, allocations: 27.95 kB / 1.148 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/1.236, allocations: 23.98 kB / 1.148 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001678/1.238, allocations: 1.096 MB / 1.149 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.238, allocations: 4 kB / 1.149 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002071/1.24, allocations: 0.7599 MB / 1.149 GB, free: 7.648 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.000686/1.241, allocations: 314.8 kB / 1.15 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003766/1.244, allocations: 1.427 MB / 1.151 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.244, allocations: 4 kB / 1.151 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.246, allocations: 429.6 kB / 1.152 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.249, allocations: 0.9272 MB / 1.152 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/1.257, allocations: 3.578 MB / 1.156 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.258, allocations: 1.336 MB / 1.157 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002138/1.26, allocations: 374.3 kB / 1.158 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/1.261, allocations: 131.3 kB / 1.158 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of SimCode: time 1.242e-06/1.261, allocations: 3.938 kB / 1.158 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.0535/1.314, allocations: 31.52 MB / 1.189 GB, free: 15.94 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1) Environment - environmentSimulation: