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.004019/0.004019, allocations: 100 kB / 15.73 MB, free: 6.016 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.001116/0.001116, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.191/2.191, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 63.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5872/0.5888, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002207/0.5911, allocations: 1.59 MB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.5922, allocations: 0.9151 MB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.5923, allocations: 4 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.5925, allocations: 55.67 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.5929, allocations: 147.3 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.744e-05/0.5929, allocations: 7.922 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.5933, allocations: 370.3 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.5934, allocations: 52.73 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.5936, allocations: 139.3 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.5937, allocations: 135.4 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.5938, allocations: 16 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.97e-05/0.5938, allocations: 12 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.5939, allocations: 59.69 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.594, allocations: 127.2 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.5943, allocations: 282.5 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5943, allocations: 4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5943, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5943, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 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.0008936/0.5952, allocations: 0.6397 MB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.5953, allocations: 8.625 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.5953, allocations: 42.62 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.5953, allocations: 32.75 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.5958, allocations: 394.5 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.5958, allocations: 4.375 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.5958, allocations: 4.375 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.596, allocations: 101.1 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.596, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.596, allocations: 7.938 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.596, allocations: 4 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.5961, allocations: 59.94 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.5964, allocations: 360 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.5966, allocations: 102.4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.5966, allocations: 71.45 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.5967, allocations: 0 / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.5967, allocations: 38.44 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.5967, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002888/0.597, allocations: 185.7 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.5971, allocations: 136.5 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.5976, allocations: 0.5132 MB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5976, allocations: 25.7 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5977, allocations: 164.1 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.5978, allocations: 11.84 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.5978, allocations: 25.7 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5979, allocations: 342.9 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.598, allocations: 35.95 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.5981, allocations: 59.39 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.5982, allocations: 107.3 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5982, allocations: 7.984 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001939/0.5984, allocations: 149.3 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.5984, allocations: 4 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5984, allocations: 4 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.5985, allocations: 3.984 kB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.5985, allocations: 11.94 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5986, allocations: 3.984 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.5987, allocations: 16.05 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.5987, allocations: 4 kB / 1.173 GB, free: 11.88 MB / 0.9044 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.0001379/0.5988, allocations: 177.8 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.5989, allocations: 35.75 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.5992, allocations: 179.7 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5992, allocations: 4 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.5992, allocations: 4.125 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5992, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.5995, allocations: 317.4 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5995, allocations: 0 / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.5996, allocations: 19.92 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5996, allocations: 0 / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.5996, allocations: 4 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5996, allocations: 3.938 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5996, allocations: 3.938 kB / 1.174 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.5998, allocations: 191.4 kB / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.6, allocations: 140.8 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.6, allocations: 8 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6001, allocations: 7.984 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.6002, allocations: 7.984 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6002, allocations: 8 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004072/0.6006, allocations: 391 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6006, allocations: 3.938 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002156/0.6008, allocations: 40 kB / 1.175 GB, free: 10.26 MB / 0.9044 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.0004576/0.6013, allocations: 0.728 MB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.6014, allocations: 87.86 kB / 1.176 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6014, allocations: 0 / 1.176 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.6015, allocations: 51.89 kB / 1.176 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.6018, allocations: 74.14 kB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.6051, allocations: 3.182 MB / 1.179 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.6055, allocations: 0.8221 MB / 1.18 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.6056, allocations: 46.27 kB / 1.18 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6057, allocations: 79.41 kB / 1.18 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of SimCode: time 1.763e-06/0.6057, allocations: 3.938 kB / 1.18 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.2/5.806, allocations: 6.642 MB / 1.186 GB, free: 14.56 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/19.64, allocations: 15.69 kB / 1.186 GB, free: 14.55 MB / 0.92 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)