Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.098/2.098, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 55.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4676, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001988/0.4696, allocations: 1.59 MB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.4705, allocations: 0.9065 MB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.4706, allocations: 2.406 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.4708, allocations: 68.67 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.4712, allocations: 156.3 kB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.596e-05/0.4712, allocations: 13.36 kB / 0.9524 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.4715, allocations: 367.8 kB / 0.9527 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.834e-05/0.4716, allocations: 46.36 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.4717, allocations: 139.3 kB / 0.9529 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.4719, allocations: 132.9 kB / 0.953 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.4719, allocations: 14.84 kB / 0.953 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.472, allocations: 16.47 kB / 0.9531 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.472, allocations: 55.19 kB / 0.9531 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.4721, allocations: 126.3 kB / 0.9532 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.4723, allocations: 292.4 kB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.4723, allocations: 0 / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4723, allocations: 0 / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4723, allocations: 1.281 kB / 0.9535 GB, free: 6.324 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007835/0.4731, allocations: 0.6286 MB / 0.9541 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.4732, allocations: 9.344 kB / 0.9541 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.13e-05/0.4732, allocations: 35.77 kB / 0.9542 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.4732, allocations: 31.16 kB / 0.9542 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.4736, allocations: 385.3 kB / 0.9546 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.4736, allocations: 5.5 kB / 0.9546 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.4736, allocations: 1.5 kB / 0.9546 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.4737, allocations: 109.4 kB / 0.9547 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.4737, allocations: 1.094 kB / 0.9547 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4737, allocations: 0 / 0.9547 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.4737, allocations: 5.156 kB / 0.9547 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.4738, allocations: 64.59 kB / 0.9547 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.4741, allocations: 349.5 kB / 0.9551 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.4742, allocations: 116.7 kB / 0.9552 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.4742, allocations: 59.36 kB / 0.9552 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4743, allocations: 1.469 kB / 0.9552 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.4743, allocations: 48.62 kB / 0.9553 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4743, allocations: 0 / 0.9553 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002587/0.4745, allocations: 176.8 kB / 0.9555 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.4746, allocations: 134 kB / 0.9556 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.475, allocations: 0.5134 MB / 0.9561 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.475, allocations: 35.48 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.4751, allocations: 158.5 kB / 0.9563 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.4751, allocations: 19.31 kB / 0.9563 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.4752, allocations: 19.08 kB / 0.9563 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.4752, allocations: 339.8 kB / 0.9566 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.4753, allocations: 36.33 kB / 0.9567 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.4753, allocations: 59.16 kB / 0.9567 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.4754, allocations: 103.2 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4754, allocations: 1.375 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001612/0.4756, allocations: 146.2 kB / 0.957 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4756, allocations: 9.031 kB / 0.957 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.4756, allocations: 5.969 kB / 0.957 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.4756, allocations: 1.25 kB / 0.957 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.4757, allocations: 15.06 kB / 0.957 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4757, allocations: 1.969 kB / 0.957 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.4759, allocations: 17.28 kB / 0.957 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4759, allocations: 2.5 kB / 0.957 GB, free: 3.285 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.765e-05/0.476, allocations: 171.7 kB / 0.9572 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.476, allocations: 38.55 kB / 0.9572 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.4763, allocations: 187.3 kB / 0.9574 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4763, allocations: 2.25 kB / 0.9574 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4763, allocations: 1.062 kB / 0.9574 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4763, allocations: 1.125 kB / 0.9574 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.4765, allocations: 314.1 kB / 0.9577 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4765, allocations: 1.188 kB / 0.9577 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.4766, allocations: 24.08 kB / 0.9577 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4766, allocations: 1.188 kB / 0.9577 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.4766, allocations: 6.375 kB / 0.9577 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4766, allocations: 5.188 kB / 0.9577 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4766, allocations: 1.156 kB / 0.9577 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.4768, allocations: 189.9 kB / 0.9579 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.4769, allocations: 141 kB / 0.958 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.477, allocations: 9.688 kB / 0.9581 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.4771, allocations: 9.234 kB / 0.9581 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.4771, allocations: 11.34 kB / 0.9581 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.4771, allocations: 7.234 kB / 0.9581 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003429/0.4775, allocations: 390 kB / 0.9585 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4775, allocations: 1.375 kB / 0.9585 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000227/0.4777, allocations: 45.12 kB / 0.9585 GB, free: 2.137 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.478, allocations: 0.7236 MB / 0.9592 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.4781, allocations: 92.11 kB / 0.9593 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4782, allocations: 1.156 kB / 0.9593 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.584e-05/0.4782, allocations: 50.05 kB / 0.9593 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4785, allocations: 62.58 kB / 0.9594 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.4814, allocations: 3.193 MB / 0.9625 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4817, allocations: 0.8194 MB / 0.9633 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.4818, allocations: 56.19 kB / 0.9634 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4819, allocations: 79.62 kB / 0.9635 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.4819, allocations: 0 / 0.9635 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.5031, allocations: 6.577 MB / 0.9699 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/7.093, allocations: 12.67 kB / 0.9699 GB, free: 11.11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)