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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008847, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005545/0.005545, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.59/1.59, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004885/0.0004885, allocations: 16.41 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.6875/0.8875, allocations: 306.3 MB / 1.087 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03709/0.9246, allocations: 30.3 MB / 1.117 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.9279, allocations: 67.62 kB / 1.117 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.9322, allocations: 1.329 MB / 1.118 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008086/0.9403, allocations: 2.795 MB / 1.121 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006447/0.9468, allocations: 2.372 MB / 1.123 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007947/0.9548, allocations: 5.99 MB / 1.129 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.9578, allocations: 1.615 MB / 1.13 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.9621, allocations: 1.961 MB / 1.132 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.965, allocations: 1.337 MB / 1.134 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004507/0.9654, allocations: 68 kB / 1.134 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007449/0.9729, allocations: 3.62 MB / 1.137 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.9739, allocations: 0.4941 MB / 1.138 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.9761, allocations: 1 MB / 1.139 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00765/0.9838, allocations: 4.677 MB / 1.143 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.9838, allocations: 0 / 1.143 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9838, allocations: 0 / 1.143 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.859e-05/0.9839, allocations: 4 kB / 1.143 GB, free: 15.69 MB / 0.8575 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.004149/0.9881, allocations: 2.1 MB / 1.145 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.9881, allocations: 8.031 kB / 1.145 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002827/0.9884, allocations: 198.3 kB / 1.146 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.9938, allocations: 0.8599 MB / 1.146 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/0.9977, allocations: 1.991 MB / 1.148 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007257/0.9985, allocations: 230.5 kB / 1.149 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.9987, allocations: 143.9 kB / 1.149 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/1.002, allocations: 1.682 MB / 1.15 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.002, allocations: 0 / 1.15 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.003, allocations: 60 kB / 1.15 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/1.003, allocations: 46.53 kB / 1.15 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/1.007, allocations: 1.524 MB / 1.152 GB, free: 6.656 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 preOpt removeSimpleEquations (simulation): time 0.01122/1.018, allocations: 7.556 MB / 1.159 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/1.022, allocations: 1.165 MB / 1.16 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/1.023, allocations: 456.3 kB / 1.161 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/1.023, allocations: 198.2 kB / 1.161 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.023, allocations: 42.5 kB / 1.161 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008744/1.024, allocations: 151 kB / 1.161 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/1.024, allocations: 0 / 1.161 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38): time 0.004341/1.029, allocations: 1.327 MB / 1.163 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.029, allocations: 55.41 kB / 1.163 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/1.031, allocations: 1.592 MB / 1.164 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/1.031, allocations: 33.7 kB / 1.164 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.032, allocations: 0.8301 MB / 1.165 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/1.032, allocations: 134 kB / 1.165 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.032, allocations: 61.67 kB / 1.165 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.033, allocations: 330.1 kB / 1.166 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/1.034, allocations: 437 kB / 1.166 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/1.036, allocations: 0.6742 MB / 1.167 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/1.038, allocations: 1.013 MB / 1.168 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.038, allocations: 7.938 kB / 1.168 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003369/1.042, allocations: 1.217 MB / 1.169 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/1.042, allocations: 280 kB / 1.169 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.042, allocations: 7.984 kB / 1.169 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.042, allocations: 16 kB / 1.169 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.043, allocations: 235.7 kB / 1.169 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/1.044, allocations: 0.6094 MB / 1.17 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.045, allocations: 195.2 kB / 1.17 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/1.045, allocations: 31.98 kB / 1.17 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/1.045, allocations: 4 kB / 1.17 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00262/1.048, allocations: 0.9678 MB / 1.171 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.048, allocations: 8 kB / 1.171 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/1.048, allocations: 8 kB / 1.171 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/1.049, allocations: 215.9 kB / 1.171 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.049, allocations: 8 kB / 1.171 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.051, allocations: 180.3 kB / 1.171 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/1.051, allocations: 31.98 kB / 1.171 GB, free: 1.652 MB / 0.8731 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009929/1.052, allocations: 0.5202 MB / 1.172 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/1.052, allocations: 162 kB / 1.172 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/1.055, allocations: 1.001 MB / 1.173 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.055, allocations: 4 kB / 1.173 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.055, allocations: 0 / 1.173 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.055, allocations: 3.938 kB / 1.173 GB, free: 15.94 MB / 0.8887 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.005307/1.06, allocations: 2.432 MB / 1.176 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.06, allocations: 0 / 1.176 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.061, allocations: 168 kB / 1.176 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.061, allocations: 0 / 1.176 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/1.062, allocations: 19.98 kB / 1.176 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005047/1.062, allocations: 0.6016 MB / 1.176 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.062, allocations: 3.938 kB / 1.176 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/1.065, allocations: 1.071 MB / 1.177 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/1.065, allocations: 315 kB / 1.178 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/1.066, allocations: 11.98 kB / 1.178 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.067, allocations: 159.7 kB / 1.178 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/1.067, allocations: 35.89 kB / 1.178 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/1.067, allocations: 23.97 kB / 1.178 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001671/1.069, allocations: 1.116 MB / 1.179 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.069, allocations: 0 / 1.179 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001884/1.071, allocations: 0.7482 MB / 1.18 GB, free: 9.098 MB / 0.8887 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003865/1.074, allocations: 1.821 MB / 1.181 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004687/1.079, allocations: 1.458 MB / 1.183 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.079, allocations: 1.125 kB / 1.183 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/1.081, allocations: 440.4 kB / 1.183 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.085, allocations: 0.908 MB / 1.184 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/1.117, allocations: 13.65 MB / 1.198 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.118, allocations: 1.347 MB / 1.199 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002015/1.12, allocations: 370.3 kB / 1.199 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.121, allocations: 0.6594 MB / 1.2 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of SimCode: time 1.292e-06/1.121, allocations: 0 / 1.2 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07445/1.196, allocations: 44.79 MB / 1.244 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/1.196, allocations: 233.5 kB / 1.244 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/4.176, allocations: 0 / 1.244 GB, free: 7.195 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)