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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000922/0.0009221, 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.005294/0.005294, allocations: 170 kB / 16.27 MB, free: 6.66 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5382, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001239/0.5394, allocations: 1.298 MB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000918/0.5404, allocations: 0.8947 MB / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.5404, allocations: 3.969 kB / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.5406, allocations: 50.75 kB / 0.9574 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.5409, allocations: 132.4 kB / 0.9575 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.541e-05/0.541, allocations: 21.25 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.5413, allocations: 355.7 kB / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.5413, allocations: 42.34 kB / 0.9579 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.5415, allocations: 130.3 kB / 0.958 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.5416, allocations: 122.8 kB / 0.9581 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.5417, allocations: 11 kB / 0.9581 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.5446, allocations: 0.6671 MB / 0.9588 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.5447, allocations: 46.59 kB / 0.9588 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.5448, allocations: 156.8 kB / 0.959 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.5564, allocations: 13.29 MB / 0.972 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5564, allocations: 1 kB / 0.972 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5565, allocations: 0 / 0.972 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5565, allocations: 0 / 0.972 GB, free: 10.14 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.00113/0.5576, allocations: 0.6106 MB / 0.9726 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5576, allocations: 9.156 kB / 0.9726 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.5577, allocations: 31.75 kB / 0.9726 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.5578, allocations: 31.56 kB / 0.9726 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.5582, allocations: 372.2 kB / 0.973 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5582, allocations: 3.312 kB / 0.973 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.5582, allocations: 8.344 kB / 0.973 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.5584, allocations: 105.2 kB / 0.9731 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.5584, allocations: 1.031 kB / 0.9731 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5584, allocations: 1 kB / 0.9731 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5584, allocations: 0 / 0.9731 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.5585, allocations: 73.08 kB / 0.9732 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.5588, allocations: 344.1 kB / 0.9735 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.5589, allocations: 107.6 kB / 0.9736 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.559, allocations: 67.52 kB / 0.9737 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.559, allocations: 4.938 kB / 0.9737 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5591, allocations: 44.44 kB / 0.9737 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5591, allocations: 1.094 kB / 0.9737 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002978/0.5594, allocations: 181.2 kB / 0.9739 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.5594, allocations: 133.6 kB / 0.974 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.56, allocations: 0.5041 MB / 0.9745 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.56, allocations: 35.11 kB / 0.9745 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.5601, allocations: 155.3 kB / 0.9747 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.5601, allocations: 18.41 kB / 0.9747 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.5602, allocations: 30.52 kB / 0.9747 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5603, allocations: 339.8 kB / 0.9751 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.5604, allocations: 118 kB / 0.9752 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.5606, allocations: 184.9 kB / 0.9753 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.5609, allocations: 266.5 kB / 0.9756 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5609, allocations: 0 / 0.9756 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004045/0.5614, allocations: 330.2 kB / 0.9759 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.5614, allocations: 4.375 kB / 0.9759 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5614, allocations: 1.094 kB / 0.9759 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5614, allocations: 1.469 kB / 0.9759 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5615, allocations: 16.73 kB / 0.9759 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5615, allocations: 10.2 kB / 0.9759 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.5617, allocations: 24.58 kB / 0.976 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.5617, allocations: 3.938 kB / 0.976 GB, free: 6.816 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.0001452/0.5619, allocations: 184.3 kB / 0.9761 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.5619, allocations: 36.69 kB / 0.9762 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.5622, allocations: 185.8 kB / 0.9764 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5622, allocations: 1.281 kB / 0.9764 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5622, allocations: 5.469 kB / 0.9764 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5622, allocations: 1.094 kB / 0.9764 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.5625, allocations: 288.7 kB / 0.9766 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5625, allocations: 5.016 kB / 0.9766 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.829e-05/0.5626, allocations: 16.28 kB / 0.9767 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5626, allocations: 1.062 kB / 0.9767 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5626, allocations: 5.719 kB / 0.9767 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5626, allocations: 2.219 kB / 0.9767 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5626, allocations: 5.062 kB / 0.9767 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.5628, allocations: 185.7 kB / 0.9768 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.563, allocations: 147.2 kB / 0.977 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.563, allocations: 4.828 kB / 0.977 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.5631, allocations: 14.08 kB / 0.977 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.5632, allocations: 3.125 kB / 0.977 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.5632, allocations: 7 kB / 0.977 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003798/0.5636, allocations: 382.9 kB / 0.9774 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5636, allocations: 0 / 0.9774 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004703/0.564, allocations: 99.47 kB / 0.9775 GB, free: 5.684 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.004759/0.5688, allocations: 3.441 MB / 0.9808 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.5691, allocations: 189.2 kB / 0.981 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5691, allocations: 0 / 0.981 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.5692, allocations: 50.58 kB / 0.9811 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5696, allocations: 52.34 kB / 0.9811 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.5735, allocations: 3.706 MB / 0.9847 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.5739, allocations: 0.8185 MB / 0.9855 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.574, allocations: 42.3 kB / 0.9856 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5741, allocations: 79.41 kB / 0.9857 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of SimCode: time 1.543e-06/0.5741, allocations: 4 kB / 0.9857 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.5972, allocations: 10.52 MB / 0.9959 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.5974, allocations: 226 kB / 0.9961 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.515, allocations: 0 / 0.9961 GB, free: 4.824 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)