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.001895/0.001895, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002251/0.002251, allocations: 190.7 kB / 16.25 MB, free: 6.633 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.892/1.892, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 4.336/4.336, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 67.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238/1.241, allocations: 140.4 MB / 0.9492 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.006826/1.248, allocations: 1.639 MB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002624/1.251, allocations: 0.9015 MB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/1.251, allocations: 10.38 kB / 0.9517 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/1.252, allocations: 52.16 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000886/1.252, allocations: 136.6 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.524e-05/1.253, allocations: 13.41 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007029/1.253, allocations: 364.9 kB / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/1.254, allocations: 42.34 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/1.254, allocations: 146.7 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/1.254, allocations: 142.1 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/1.254, allocations: 17.16 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/1.26, allocations: 0.5654 MB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/1.26, allocations: 59.11 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004686/1.261, allocations: 137.6 kB / 0.9533 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02425/1.285, allocations: 13.31 MB / 0.9663 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.285, allocations: 1 kB / 0.9663 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/1.285, allocations: 0 / 0.9663 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.758e-05/1.285, allocations: 0 / 0.9663 GB, free: 11.37 MB / 0.7325 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.003293/1.289, allocations: 0.6531 MB / 0.967 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.395e-05/1.289, allocations: 12.8 kB / 0.967 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.66e-05/1.289, allocations: 36.25 kB / 0.967 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/1.289, allocations: 34.97 kB / 0.967 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.29, allocations: 372 kB / 0.9674 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/1.29, allocations: 2.531 kB / 0.9674 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/1.29, allocations: 8.906 kB / 0.9674 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.291, allocations: 105.7 kB / 0.9675 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.291, allocations: 1.062 kB / 0.9675 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/1.291, allocations: 0 / 0.9675 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.291, allocations: 5.219 kB / 0.9675 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/1.291, allocations: 73.17 kB / 0.9676 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/1.292, allocations: 347.2 kB / 0.9679 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/1.292, allocations: 108.1 kB / 0.968 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/1.292, allocations: 67.42 kB / 0.9681 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/1.292, allocations: 5.297 kB / 0.9681 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/1.292, allocations: 37.19 kB / 0.9681 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.055e-06/1.292, allocations: 4 kB / 0.9681 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007825/1.293, allocations: 184.7 kB / 0.9683 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.293, allocations: 138.8 kB / 0.9684 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.295, allocations: 0.4949 MB / 0.9689 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/1.295, allocations: 34.75 kB / 0.9689 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/1.295, allocations: 155.9 kB / 0.9691 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/1.295, allocations: 11.69 kB / 0.9691 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/1.295, allocations: 53.22 kB / 0.9692 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002408/1.296, allocations: 344.1 kB / 0.9695 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/1.296, allocations: 121.5 kB / 0.9696 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/1.297, allocations: 182.6 kB / 0.9698 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007915/1.297, allocations: 270.3 kB / 0.97 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.297, allocations: 1.125 kB / 0.97 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001089/1.299, allocations: 328.6 kB / 0.9703 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/1.299, allocations: 9.453 kB / 0.9704 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.299, allocations: 1.062 kB / 0.9704 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.299, allocations: 2.312 kB / 0.9704 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/1.299, allocations: 16.14 kB / 0.9704 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/1.299, allocations: 5.906 kB / 0.9704 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/1.299, allocations: 20.39 kB / 0.9704 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/1.299, allocations: 8.125 kB / 0.9704 GB, free: 7.996 MB / 0.7325 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0003257/1.3, allocations: 184.4 kB / 0.9706 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.3, allocations: 33.34 kB / 0.9706 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/1.301, allocations: 176.5 kB / 0.9708 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.301, allocations: 3.156 kB / 0.9708 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.301, allocations: 9.109 kB / 0.9708 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.301, allocations: 1.062 kB / 0.9708 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/1.301, allocations: 296.2 kB / 0.9711 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.301, allocations: 1.156 kB / 0.9711 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/1.301, allocations: 16.06 kB / 0.9711 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.301, allocations: 5.781 kB / 0.9711 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/1.301, allocations: 5.281 kB / 0.9711 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.302, allocations: 1.219 kB / 0.9711 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.302, allocations: 6.156 kB / 0.9711 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/1.302, allocations: 188.6 kB / 0.9713 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/1.302, allocations: 142.8 kB / 0.9714 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.302, allocations: 9.891 kB / 0.9714 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/1.303, allocations: 13.39 kB / 0.9715 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/1.303, allocations: 3.125 kB / 0.9715 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/1.303, allocations: 7.031 kB / 0.9715 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00096/1.304, allocations: 382.1 kB / 0.9718 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.7e-07/1.304, allocations: 0 / 0.9718 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001437/1.305, allocations: 100.3 kB / 0.9719 GB, free: 6.859 MB / 0.7325 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.0126/1.318, allocations: 3.43 MB / 0.9753 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008941/1.319, allocations: 204.8 kB / 0.9755 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.319, allocations: 5.062 kB / 0.9755 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/1.319, allocations: 45.66 kB / 0.9755 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/1.32, allocations: 49.66 kB / 0.9756 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.331, allocations: 3.69 MB / 0.9792 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/1.332, allocations: 0.818 MB / 0.98 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003833/1.332, allocations: 44.42 kB / 0.98 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/1.332, allocations: 83.19 kB / 0.9801 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.295e-06/1.332, allocations: 0 / 0.9801 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08446/1.417, allocations: 10.83 MB / 0.9907 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004179/1.417, allocations: 233.2 kB / 0.9909 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.649/6.066, allocations: 2.188 kB / 0.9909 GB, free: 6.836 MB / 0.7481 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)