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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001022/0.001022, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.377/2.377, allocations: 437.1 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.88 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6181/0.6195, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002515/0.622, allocations: 1.593 MB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.6232, allocations: 0.9072 MB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.6233, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.6235, allocations: 67.64 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.6239, allocations: 143.3 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.416e-05/0.624, allocations: 19.91 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.6243, allocations: 367.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.6244, allocations: 48.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.6246, allocations: 143.4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.6248, allocations: 135.3 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.6248, allocations: 16 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.6249, allocations: 16 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.6249, allocations: 51.7 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.6251, allocations: 123.3 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.6253, allocations: 293.2 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6253, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6253, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6253, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 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.0009747/0.6263, allocations: 0.6224 MB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6264, allocations: 8.031 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.6264, allocations: 46.67 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.6265, allocations: 28.56 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.6269, allocations: 390.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.6269, allocations: 384 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.6269, allocations: 4.375 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.6271, allocations: 101.2 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6271, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6271, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6271, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.205e-05/0.6272, allocations: 67.94 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.6276, allocations: 352.1 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.6277, allocations: 106.4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.6278, allocations: 63.45 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.6278, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.6278, allocations: 46.38 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.6278, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002953/0.6281, allocations: 177.1 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.6282, allocations: 140.5 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.6287, allocations: 0.5132 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.6287, allocations: 26.2 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.6289, allocations: 168.1 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.6289, allocations: 11.75 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.6289, allocations: 25.7 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.629, allocations: 338.8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.6291, allocations: 35.95 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.6292, allocations: 55.41 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.6293, allocations: 107.3 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6293, allocations: 3.984 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001855/0.6295, allocations: 145.1 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6295, allocations: 5.719 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6295, allocations: 128 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6295, allocations: 11.98 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.6296, allocations: 11.94 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.6297, allocations: 3.984 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.6298, allocations: 7.984 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.6298, allocations: 4 kB / 1.025 GB, free: 10.64 MB / 0.7794 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001422/0.6299, allocations: 177.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.63, allocations: 39.47 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.6303, allocations: 187.8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6303, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6303, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6303, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.6306, allocations: 317.3 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6306, allocations: 4 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.6307, allocations: 19.92 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6307, allocations: 4.125 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6307, allocations: 0 / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6307, allocations: 4 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6307, allocations: 3.938 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.6309, allocations: 183.3 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.6311, allocations: 144.5 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.6311, allocations: 4 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.6313, allocations: 15.98 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.6313, allocations: 7.984 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.6313, allocations: 0 / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003899/0.6317, allocations: 395 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6317, allocations: 7.875 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000232/0.6319, allocations: 40 kB / 1.026 GB, free: 9.008 MB / 0.7794 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.0004178/0.6324, allocations: 0.7239 MB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.6325, allocations: 95.97 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6325, allocations: 4.062 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/0.6326, allocations: 43.95 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.6329, allocations: 65.92 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.6362, allocations: 3.181 MB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.6365, allocations: 0.8259 MB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.6367, allocations: 50.25 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6368, allocations: 75.41 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6368, allocations: 8 kB / 1.031 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.319/1.956, allocations: 6.592 MB / 1.038 GB, free: 13.33 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/10.68, allocations: 9.141 kB / 1.038 GB, free: 13.32 MB / 0.795 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)