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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006406/0.006406, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001564/0.001564, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 66.75 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2283, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002625/0.231, allocations: 1.589 MB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2323, allocations: 0.9126 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.2325, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.2327, allocations: 59.66 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.2332, allocations: 147.3 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.212e-05/0.2332, allocations: 23.84 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.2336, allocations: 370.3 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.2337, allocations: 44.73 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.2339, allocations: 143.3 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.2341, allocations: 131.4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.2342, allocations: 20 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.2342, allocations: 16 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.2343, allocations: 55.69 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.2344, allocations: 127.2 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.2347, allocations: 278.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2347, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2347, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.2348, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 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.001057/0.2358, allocations: 0.6358 MB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2359, allocations: 12.03 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.2359, allocations: 30.75 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.236, allocations: 36.56 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.2365, allocations: 394.2 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2365, allocations: 4.375 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2365, allocations: 384 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.2367, allocations: 105.2 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2367, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.2367, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2367, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.2368, allocations: 63.88 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.2372, allocations: 360 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2373, allocations: 110.3 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.55e-05/0.2374, allocations: 59.47 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2374, allocations: 3.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2375, allocations: 38.5 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.394e-06/0.2375, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003273/0.2378, allocations: 189.5 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.2379, allocations: 132.5 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.2384, allocations: 0.5132 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2385, allocations: 29.7 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2386, allocations: 160.1 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2386, allocations: 7.906 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.2387, allocations: 25.61 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2388, allocations: 346.9 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.2389, allocations: 35.95 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.239, allocations: 55.41 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2391, allocations: 111.2 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2391, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002217/0.2393, allocations: 149.1 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2394, allocations: 7.938 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2394, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2394, allocations: 4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2395, allocations: 11.92 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2395, allocations: 4 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.2397, allocations: 11.98 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2397, allocations: 12.11 kB / 1.095 GB, free: 10.17 MB / 0.8575 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.0001496/0.2398, allocations: 173.7 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2399, allocations: 35.56 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.2402, allocations: 191.7 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2402, allocations: 0 / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2402, allocations: 4 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2402, allocations: 4.125 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.2405, allocations: 305.5 kB / 1.095 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2405, allocations: 4 kB / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.2406, allocations: 15.94 kB / 1.095 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2406, allocations: 0 / 1.095 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.2407, allocations: 3.984 kB / 1.095 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2407, allocations: 4 kB / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2407, allocations: 0 / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.241, allocations: 199.1 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.2411, allocations: 144.6 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.2412, allocations: 0 / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2413, allocations: 11.98 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.2414, allocations: 4 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.2414, allocations: 4 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004923/0.2419, allocations: 399 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2419, allocations: 0 / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002618/0.2422, allocations: 36 kB / 1.096 GB, free: 8.547 MB / 0.8575 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.0005797/0.2427, allocations: 0.7361 MB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.243, allocations: 87.84 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.243, allocations: 0 / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.243, allocations: 47.91 kB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2434, allocations: 61.95 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.2472, allocations: 3.172 MB / 1.1 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.2476, allocations: 0.8181 MB / 1.101 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.2477, allocations: 58.25 kB / 1.101 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.2479, allocations: 79.41 kB / 1.101 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2479, allocations: 0 / 1.101 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3348/0.5827, allocations: 6.644 MB / 1.108 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.931, allocations: 14.48 kB / 1.108 GB, free: 12.85 MB / 0.8731 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)