Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.952/2.952, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.00134, allocations: 177.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009673/0.0009671, allocations: 90.67 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006895/0.0006898, allocations: 14.31 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2817, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.00441/0.2862, allocations: 2.264 MB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00491/0.2911, allocations: 1.67 MB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.2915, allocations: 4 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.2916, allocations: 31.7 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007856/0.2925, allocations: 131.1 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2939, allocations: 284.3 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009566/0.2949, allocations: 446.5 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.2954, allocations: 112 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.2957, allocations: 147.4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.296, allocations: 155.2 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.2961, allocations: 12 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.2975, allocations: 411.5 kB / 0.9839 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.2976, allocations: 59.69 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.2978, allocations: 93.45 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007894/0.2986, allocations: 375 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2986, allocations: 7.984 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2986, allocations: 0 / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.567e-06/0.2987, allocations: 4 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001714/0.3004, allocations: 0.6429 MB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.3005, allocations: 20.02 kB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.3006, allocations: 66.53 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.3025, allocations: 111.4 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.3032, allocations: 302.2 kB / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.3033, allocations: 24.66 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.384e-05/0.3034, allocations: 28 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.305, allocations: 318 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.305, allocations: 3.938 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.3051, allocations: 16 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3051, allocations: 8 kB / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.3072, allocations: 290.4 kB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.3105, allocations: 0.9047 MB / 0.9871 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.3127, allocations: 295.5 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009016/0.3136, allocations: 140.8 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.3139, allocations: 93.09 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.314, allocations: 34.56 kB / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 4.278e-06/0.314, allocations: 0 / 0.9876 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.002955/0.317, allocations: 404.8 kB / 0.988 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3171, allocations: 55.41 kB / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.3178, allocations: 345.6 kB / 0.9884 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.3178, allocations: 33.64 kB / 0.9884 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.318, allocations: 184.6 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3182, allocations: 86.8 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.3182, allocations: 4 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3183, allocations: 342.8 kB / 0.989 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008654/0.3192, allocations: 108.5 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.3201, allocations: 117 kB / 0.9892 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.321, allocations: 112.5 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.321, allocations: 0 / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002182/0.3232, allocations: 344.9 kB / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.3233, allocations: 8 kB / 0.9897 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3233, allocations: 0 / 0.9897 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.3233, allocations: 0 / 0.9897 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.3243, allocations: 83.86 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.3244, allocations: 4 kB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.3252, allocations: 51.61 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.3253, allocations: 15.92 kB / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.3256, allocations: 141.8 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.3258, allocations: 43.47 kB / 0.99 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.3281, allocations: 379.2 kB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3282, allocations: 4 kB / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3282, allocations: 0 / 0.9904 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.3282, allocations: 7.922 kB / 0.9904 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007647/0.329, allocations: 349.3 kB / 0.9907 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.329, allocations: 0 / 0.9907 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/0.3298, allocations: 63.94 kB / 0.9908 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.3299, allocations: 0 / 0.9908 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.3299, allocations: 7.953 kB / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.33, allocations: 0 / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.33, allocations: 0 / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.332, allocations: 312.5 kB / 0.9911 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.3323, allocations: 144.5 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.3325, allocations: 0 / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.3331, allocations: 23.94 kB / 0.9912 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.3332, allocations: 19.91 kB / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.3333, allocations: 8 kB / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004687/0.3338, allocations: 255.2 kB / 0.9915 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.21e-07/0.3338, allocations: 0 / 0.9915 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007769/0.3346, allocations: 103.8 kB / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002375/0.337, allocations: 0.8689 MB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.3388, allocations: 252.6 kB / 0.9927 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3389, allocations: 0 / 0.9927 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.3398, allocations: 115.9 kB / 0.9928 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.3412, allocations: 109.3 kB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/0.3487, allocations: 1.891 MB / 0.9948 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3491, allocations: 0.7717 MB / 0.9955 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008161/0.3499, allocations: 86.78 kB / 0.9956 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.3503, allocations: 111.4 kB / 0.9957 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.533e-06/0.3503, allocations: 3.938 kB / 0.9957 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.3941, allocations: 7.981 MB / 1.004 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.3944, allocations: 192.2 kB / 1.004 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.38, allocations: 0 / 1.004 GB, free: 2.055 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1)