Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_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.0008615/0.0008615, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005085/0.005085, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.321/2.321, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5111, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.0015/0.5126, allocations: 1.303 MB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5138, allocations: 0.8918 MB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.5139, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.5141, allocations: 63.7 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.5145, allocations: 131.5 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.039e-05/0.5145, allocations: 11.98 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.5149, allocations: 350.3 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.515, allocations: 44.73 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.5152, allocations: 131.3 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.5153, allocations: 135.3 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.5154, allocations: 12 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.5185, allocations: 0.6563 MB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.5185, allocations: 43.77 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.5187, allocations: 156.9 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.5315, allocations: 13.3 MB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5315, allocations: 0 / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5315, allocations: 0 / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5316, allocations: 0 / 1.04 GB, free: 14.56 MB / 0.795 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.001134/0.5327, allocations: 0.5994 MB / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5327, allocations: 8.031 kB / 1.041 GB, free: 13.9 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.5328, allocations: 38.73 kB / 1.041 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.5328, allocations: 32.56 kB / 1.041 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.5333, allocations: 370.2 kB / 1.041 GB, free: 13.42 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5333, allocations: 8.375 kB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.5333, allocations: 12.34 kB / 1.041 GB, free: 13.4 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.5335, allocations: 105.1 kB / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.5335, allocations: 4 kB / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.5335, allocations: 0 / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5335, allocations: 0 / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.5336, allocations: 67.86 kB / 1.041 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.5339, allocations: 348.1 kB / 1.041 GB, free: 12.81 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5341, allocations: 110.4 kB / 1.042 GB, free: 12.67 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/0.5341, allocations: 63.45 kB / 1.042 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.5342, allocations: 7.875 kB / 1.042 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5342, allocations: 38.5 kB / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5342, allocations: 0 / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002985/0.5345, allocations: 185.1 kB / 1.042 GB, free: 12.35 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.5346, allocations: 136.5 kB / 1.042 GB, free: 12.19 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.5351, allocations: 0.5018 MB / 1.042 GB, free: 11.68 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.5351, allocations: 29.7 kB / 1.042 GB, free: 11.64 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.5353, allocations: 168.3 kB / 1.043 GB, free: 11.47 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.5353, allocations: 7.906 kB / 1.043 GB, free: 11.46 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.5353, allocations: 25.7 kB / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5354, allocations: 342.8 kB / 1.043 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.5356, allocations: 115.9 kB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.5358, allocations: 194.6 kB / 1.043 GB, free: 10.76 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.5361, allocations: 255.3 kB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5361, allocations: 0 / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004136/0.5365, allocations: 340.9 kB / 1.044 GB, free: 10.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5365, allocations: 4 kB / 1.044 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5366, allocations: 3.984 kB / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.5366, allocations: 4 kB / 1.044 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5367, allocations: 15.98 kB / 1.044 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5367, allocations: 7.984 kB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.5369, allocations: 19.83 kB / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5369, allocations: 7.938 kB / 1.044 GB, free: 10.1 MB / 0.795 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.0001588/0.5371, allocations: 189.6 kB / 1.044 GB, free: 9.902 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.5371, allocations: 39.47 kB / 1.044 GB, free: 9.863 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.5374, allocations: 179.8 kB / 1.044 GB, free: 9.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5374, allocations: 0 / 1.044 GB, free: 9.68 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5374, allocations: 4 kB / 1.044 GB, free: 9.676 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5374, allocations: 7.922 kB / 1.044 GB, free: 9.668 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.5377, allocations: 289.4 kB / 1.045 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5377, allocations: 0 / 1.045 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.5378, allocations: 15.94 kB / 1.045 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5378, allocations: 240 / 1.045 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.5378, allocations: 4 kB / 1.045 GB, free: 9.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5378, allocations: 3.984 kB / 1.045 GB, free: 9.312 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5378, allocations: 4.125 kB / 1.045 GB, free: 9.309 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.5381, allocations: 191.2 kB / 1.045 GB, free: 9.094 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5382, allocations: 144.5 kB / 1.045 GB, free: 8.934 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.5382, allocations: 3.984 kB / 1.045 GB, free: 8.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.5384, allocations: 19.98 kB / 1.045 GB, free: 8.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.5384, allocations: 4 kB / 1.045 GB, free: 8.906 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.5384, allocations: 4 kB / 1.045 GB, free: 8.902 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000416/0.5388, allocations: 379 kB / 1.045 GB, free: 8.531 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5388, allocations: 0 / 1.045 GB, free: 8.531 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004183/0.5393, allocations: 100 kB / 1.045 GB, free: 8.434 MB / 0.795 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.004821/0.5441, allocations: 3.442 MB / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.5444, allocations: 191.8 kB / 1.049 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5444, allocations: 0 / 1.049 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.5445, allocations: 47.91 kB / 1.049 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.5448, allocations: 53.72 kB / 1.049 GB, free: 4.664 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.5489, allocations: 3.695 MB / 1.053 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.5492, allocations: 0.8224 MB / 1.054 GB, free: 4 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.5493, allocations: 38.31 kB / 1.054 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5495, allocations: 75.41 kB / 1.054 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.5495, allocations: 0 / 1.054 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.57, allocations: 10.52 MB / 1.064 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.5702, allocations: 226.3 kB / 1.064 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.42, allocations: 0 / 1.064 GB, free: 5.34 MB / 0.8106 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)