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.001437/0.001437, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001539/0.001539, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.108/2.108, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5465, allocations: 140.4 MB / 0.949 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002017/0.5485, allocations: 1.644 MB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.5494, allocations: 0.9022 MB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.5495, allocations: 2.469 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.5497, allocations: 56.95 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.55, allocations: 132.4 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.414e-05/0.55, allocations: 17.17 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.5503, allocations: 351.7 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.283e-05/0.5504, allocations: 50.98 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.5505, allocations: 125.8 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.5506, allocations: 127 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.5507, allocations: 11.75 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.5537, allocations: 0.6662 MB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.5538, allocations: 47.3 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.5539, allocations: 126.9 kB / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.5669, allocations: 13.3 MB / 0.9662 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5669, allocations: 1.125 kB / 0.9662 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5669, allocations: 0 / 0.9662 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5669, allocations: 0 / 0.9662 GB, free: 11.3 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.001266/0.5682, allocations: 0.6564 MB / 0.9668 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5682, allocations: 10.25 kB / 0.9668 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.5683, allocations: 30.75 kB / 0.9668 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.5684, allocations: 31.62 kB / 0.9669 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.5688, allocations: 372.7 kB / 0.9672 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5688, allocations: 2.969 kB / 0.9672 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.5688, allocations: 8.344 kB / 0.9672 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.569, allocations: 105 kB / 0.9673 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.569, allocations: 1.406 kB / 0.9673 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.569, allocations: 0 / 0.9673 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.569, allocations: 1.125 kB / 0.9673 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5691, allocations: 72.52 kB / 0.9674 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.5694, allocations: 344.3 kB / 0.9677 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.5696, allocations: 111.2 kB / 0.9678 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.5697, allocations: 63.58 kB / 0.9679 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.5697, allocations: 1.406 kB / 0.9679 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5697, allocations: 45.25 kB / 0.968 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.5697, allocations: 0 / 0.968 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003074/0.57, allocations: 180.6 kB / 0.9681 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5701, allocations: 130.7 kB / 0.9683 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.5706, allocations: 0.5031 MB / 0.9687 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5706, allocations: 31.45 kB / 0.9688 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5708, allocations: 172.2 kB / 0.9689 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.5708, allocations: 13.98 kB / 0.969 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.5709, allocations: 49.53 kB / 0.969 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.571, allocations: 340.4 kB / 0.9693 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.5711, allocations: 117.8 kB / 0.9694 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.5713, allocations: 190.2 kB / 0.9696 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.5717, allocations: 266.6 kB / 0.9699 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5717, allocations: 1.062 kB / 0.9699 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004188/0.5721, allocations: 325 kB / 0.9702 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5721, allocations: 5.062 kB / 0.9702 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5721, allocations: 1.094 kB / 0.9702 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5721, allocations: 2.484 kB / 0.9702 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.5723, allocations: 16.52 kB / 0.9702 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5723, allocations: 13.02 kB / 0.9702 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.5724, allocations: 24.77 kB / 0.9702 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.5725, allocations: 3.688 kB / 0.9702 GB, free: 7.938 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.0001453/0.5726, allocations: 184.3 kB / 0.9704 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.5727, allocations: 38.36 kB / 0.9705 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.573, allocations: 180.8 kB / 0.9706 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.573, allocations: 2.188 kB / 0.9706 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.573, allocations: 1.062 kB / 0.9706 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.573, allocations: 1.094 kB / 0.9706 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.5732, allocations: 288.7 kB / 0.9709 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5733, allocations: 5.047 kB / 0.9709 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.5733, allocations: 19.34 kB / 0.9709 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5734, allocations: 2.125 kB / 0.9709 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.5734, allocations: 5 kB / 0.9709 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5734, allocations: 6.156 kB / 0.9709 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5734, allocations: 8.594 kB / 0.971 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.5736, allocations: 185.4 kB / 0.9711 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.5738, allocations: 138.6 kB / 0.9713 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.5738, allocations: 5.688 kB / 0.9713 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.574, allocations: 14.3 kB / 0.9713 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.574, allocations: 11.45 kB / 0.9713 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.574, allocations: 2.562 kB / 0.9713 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003937/0.5744, allocations: 378.2 kB / 0.9717 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.442e-06/0.5744, allocations: 0 / 0.9717 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006073/0.575, allocations: 103.8 kB / 0.9718 GB, free: 6.805 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.004898/0.5799, allocations: 3.437 MB / 0.9751 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.5803, allocations: 193 kB / 0.9753 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5803, allocations: 0 / 0.9753 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-05/0.5804, allocations: 50.11 kB / 0.9753 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.5807, allocations: 49.25 kB / 0.9754 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.5848, allocations: 3.692 MB / 0.979 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5851, allocations: 0.8143 MB / 0.9798 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.5852, allocations: 47.72 kB / 0.9798 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5853, allocations: 74.88 kB / 0.9799 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5854, allocations: 5.625 kB / 0.9799 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.6046, allocations: 10.67 MB / 0.9903 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.6049, allocations: 223.4 kB / 0.9905 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.451, allocations: 1.688 kB / 0.9905 GB, free: 7.039 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)