Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_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.000866/0.0008661, allocations: 98.19 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.004944/0.004944, allocations: 174.5 kB / 16.27 MB, free: 6.648 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.271/2.271, allocations: 443.4 MB / 0.7176 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002955, allocations: 9.219 kB / 0.8797 GB, free: 41.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2428, allocations: 155.2 MB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001819/0.2447, allocations: 1.302 MB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2459, allocations: 0.8961 MB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.246, allocations: 7.938 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.2463, allocations: 63.72 kB / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.2466, allocations: 143.5 kB / 1.034 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.652e-05/0.2467, allocations: 8 kB / 1.034 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.247, allocations: 354.3 kB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.2471, allocations: 44.73 kB / 1.034 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2473, allocations: 119.4 kB / 1.034 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.2474, allocations: 147.2 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.2475, allocations: 12 kB / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003029/0.2505, allocations: 0.668 MB / 1.035 GB, free: 460 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.2506, allocations: 39.83 kB / 1.035 GB, free: 420 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2507, allocations: 160.8 kB / 1.035 GB, free: 252 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.2636, allocations: 13.28 MB / 1.048 GB, free: 2.918 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2636, allocations: 0 / 1.048 GB, free: 2.918 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2636, allocations: 0 / 1.048 GB, free: 2.918 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2637, allocations: 0 / 1.048 GB, free: 2.918 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.001126/0.2648, allocations: 0.6111 MB / 1.049 GB, free: 2.258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2648, allocations: 8.031 kB / 1.049 GB, free: 2.25 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.2649, allocations: 34.69 kB / 1.049 GB, free: 2.207 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.2649, allocations: 32.56 kB / 1.049 GB, free: 2.176 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.2654, allocations: 370.3 kB / 1.049 GB, free: 1.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2654, allocations: 4.375 kB / 1.049 GB, free: 1.773 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2654, allocations: 4.375 kB / 1.049 GB, free: 1.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.2656, allocations: 105.2 kB / 1.049 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2656, allocations: 7.938 kB / 1.049 GB, free: 1.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.2656, allocations: 0 / 1.049 GB, free: 1.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2656, allocations: 0 / 1.049 GB, free: 1.641 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.2657, allocations: 63.94 kB / 1.049 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.2661, allocations: 352 kB / 1.05 GB, free: 1.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2662, allocations: 106.4 kB / 1.05 GB, free: 1.035 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.2663, allocations: 59.45 kB / 1.05 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2663, allocations: 11.98 kB / 1.05 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2663, allocations: 46.38 kB / 1.05 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.2663, allocations: 3.984 kB / 1.05 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003151/0.2667, allocations: 181.5 kB / 1.05 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.2667, allocations: 140.5 kB / 1.05 GB, free: 0.543 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.2672, allocations: 0.5014 MB / 1.051 GB, free: 32 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2673, allocations: 29.75 kB / 1.051 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2674, allocations: 160.3 kB / 1.051 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.2674, allocations: 11.8 kB / 1.051 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.2675, allocations: 25.72 kB / 1.051 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2676, allocations: 346.8 kB / 1.051 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.2677, allocations: 115.8 kB / 1.051 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.2679, allocations: 190.8 kB / 1.051 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.2682, allocations: 259.2 kB / 1.052 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2683, allocations: 0 / 1.052 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000398/0.2687, allocations: 325.1 kB / 1.052 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2687, allocations: 8 kB / 1.052 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2687, allocations: 7.938 kB / 1.052 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2687, allocations: 4 kB / 1.052 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.2688, allocations: 15.98 kB / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2688, allocations: 0 / 1.052 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.269, allocations: 31.72 kB / 1.052 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.269, allocations: 7.984 kB / 1.052 GB, free: 14.45 MB / 0.8106 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.0001434/0.2692, allocations: 183.2 kB / 1.052 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2692, allocations: 31.56 kB / 1.052 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.2695, allocations: 187.7 kB / 1.052 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2695, allocations: 0 / 1.052 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2695, allocations: 4 kB / 1.052 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2695, allocations: 0 / 1.052 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.2698, allocations: 297.3 kB / 1.053 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2698, allocations: 0 / 1.053 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.2699, allocations: 23.98 kB / 1.053 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2699, allocations: 4 kB / 1.053 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.2699, allocations: 4 kB / 1.053 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2699, allocations: 0 / 1.053 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2699, allocations: 0 / 1.053 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.2701, allocations: 195.2 kB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2702, allocations: 136.5 kB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.2703, allocations: 8 kB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2704, allocations: 7.984 kB / 1.053 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.2704, allocations: 7.984 kB / 1.053 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2704, allocations: 4 kB / 1.053 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003719/0.2708, allocations: 383 kB / 1.053 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2708, allocations: 0 / 1.053 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003979/0.2712, allocations: 99.94 kB / 1.054 GB, free: 12.8 MB / 0.8106 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.004829/0.2761, allocations: 3.441 MB / 1.057 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.2764, allocations: 187.8 kB / 1.057 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2764, allocations: 0 / 1.057 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.2765, allocations: 47.84 kB / 1.057 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2768, allocations: 53.78 kB / 1.057 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.2808, allocations: 3.695 MB / 1.061 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.2813, allocations: 0.8149 MB / 1.062 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.2814, allocations: 53.91 kB / 1.062 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.2815, allocations: 79.41 kB / 1.062 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2815, allocations: 0 / 1.062 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.3097, allocations: 10.52 MB / 1.072 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.31, allocations: 240.6 kB / 1.072 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.141, allocations: 0 / 1.072 GB, free: 9.68 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)