Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001247/0.001247, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00165/0.001651, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.017/2.017, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005708/0.0005712, allocations: 18.7 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3015, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001868/0.3034, allocations: 1.238 MB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001131/0.3035, allocations: 31.84 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.3036, allocations: 3.938 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.3037, allocations: 11.92 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.193e-05/0.3038, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.3039, allocations: 15.98 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.963e-05/0.304, allocations: 43.84 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3041, allocations: 35.95 kB / 0.7888 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.3042, allocations: 11.92 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.3043, allocations: 19.92 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.3043, allocations: 4 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3043, allocations: 3.938 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.3044, allocations: 11.98 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.3044, allocations: 37.58 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.898e-05/0.3045, allocations: 48.14 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.3045, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3045, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.3045, allocations: 4 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004282/0.3049, allocations: 351.2 kB / 0.7892 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.305, allocations: 12.03 kB / 0.7892 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.305, allocations: 34.56 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.3051, allocations: 7.906 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3053, allocations: 182.9 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3053, allocations: 12 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3053, allocations: 7.938 kB / 0.7895 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3055, allocations: 99.2 kB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3056, allocations: 0 / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3056, allocations: 3.984 kB / 0.7896 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3056, allocations: 0 / 0.7896 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.804e-05/0.3057, allocations: 43.92 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.3063, allocations: 0.64 MB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.965e-05/0.3064, allocations: 173.1 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.3065, allocations: 84.14 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.3065, allocations: 79.27 kB / 0.7906 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.3066, allocations: 113.7 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3066, allocations: 0 / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.758e-05/0.3067, allocations: 34.67 kB / 0.7907 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.3068, allocations: 126.7 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3069, allocations: 166.5 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.307, allocations: 25.7 kB / 0.791 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.307, allocations: 104 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.307, allocations: 0 / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.307, allocations: 0 / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3072, allocations: 326.8 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.3072, allocations: 4 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.3072, allocations: 30.52 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.3073, allocations: 7.953 kB / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3073, allocations: 0 / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001233/0.3074, allocations: 61.53 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3074, allocations: 4 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3074, allocations: 0 / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3074, allocations: 0 / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.3075, allocations: 12.09 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3075, allocations: 0 / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.3076, allocations: 11.84 kB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3076, allocations: 4 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001221/0.3077, allocations: 197.1 kB / 0.7917 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/0.3078, allocations: 112.8 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.3078, allocations: 108.9 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.3079, allocations: 192.2 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.586e-05/0.308, allocations: 180.3 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.175e-05/0.3081, allocations: 176.3 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.3083, allocations: 425.1 kB / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.397e-05/0.3084, allocations: 113 kB / 0.793 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.3084, allocations: 105.1 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.873e-05/0.3085, allocations: 180.3 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.3087, allocations: 184.4 kB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001041/0.3088, allocations: 188.2 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.479e-05/0.3089, allocations: 176.3 kB / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.3091, allocations: 315.7 kB / 0.7941 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3092, allocations: 194 kB / 0.7943 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3093, allocations: 180.2 kB / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.3094, allocations: 105 kB / 0.7945 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.3095, allocations: 180.2 kB / 0.7947 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.3095, allocations: 105 kB / 0.7948 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001082/0.3096, allocations: 133.7 kB / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3096, allocations: 0 / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002318/0.3099, allocations: 4 kB / 0.7949 GB, free: 3.637 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0007219/0.3106, allocations: 0.8164 MB / 0.7957 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.3107, allocations: 15.98 kB / 0.7957 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3107, allocations: 0 / 0.7957 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3107, allocations: 0 / 0.7957 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.3113, allocations: 0.5301 MB / 0.7963 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3125, allocations: 0.6262 MB / 0.7969 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.313, allocations: 0.6965 MB / 0.7976 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.313, allocations: 11.77 kB / 0.7976 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.3131, allocations: 15.44 kB / 0.7976 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.3131, allocations: 0 / 0.7976 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.3266, allocations: 1.466 MB / 0.799 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.3269, allocations: 193.5 kB / 0.7992 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.211, allocations: 3.125 kB / 0.7992 GB, free: 15.25 MB / 0.6231 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) Environment - environmentSimulation: