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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001578/0.001578, allocations: 177.3 kB / 15.94 MB, free: 224 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.686/1.686, allocations: 205.4 MB / 222.1 MB, free: 5.684 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 1.74/1.74, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005677/0.0005677, allocations: 17.41 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3267, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001796/0.3286, allocations: 1.234 MB / 0.7883 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.3287, allocations: 31.84 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.3288, allocations: 7.938 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3289, allocations: 11.92 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.496e-05/0.329, allocations: 3.984 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.3291, allocations: 15.98 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.3292, allocations: 31.95 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3293, allocations: 27.98 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.3294, allocations: 19.92 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.3294, allocations: 19.86 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3295, allocations: 3.938 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.3295, allocations: 4 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.3295, allocations: 11.98 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.3296, allocations: 37.64 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.732e-05/0.3297, allocations: 44.14 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3297, allocations: 0 / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3297, allocations: 4 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3297, allocations: 0 / 0.7886 GB, free: 10.46 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.0004319/0.3301, allocations: 355.2 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3302, allocations: 8.031 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3302, allocations: 7.906 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3304, allocations: 183 kB / 0.7891 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3305, allocations: 7.938 kB / 0.7891 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3305, allocations: 11.94 kB / 0.7891 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3307, allocations: 96.23 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3307, allocations: 0 / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3307, allocations: 7.984 kB / 0.7892 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3307, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.3308, allocations: 47.91 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.3315, allocations: 0.6478 MB / 0.7899 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/0.3316, allocations: 165.1 kB / 0.7901 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3316, allocations: 75.28 kB / 0.7901 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.3317, allocations: 117.8 kB / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3317, allocations: 0 / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.885e-05/0.3318, allocations: 34.81 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.3318, allocations: 126.7 kB / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.332, allocations: 166.5 kB / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.332, allocations: 25.7 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.3321, allocations: 100 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.3321, allocations: 0 / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.3321, allocations: 4 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3323, allocations: 322.8 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.3323, allocations: 4 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.3323, allocations: 18.58 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.3324, allocations: 11.94 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3324, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001255/0.3325, allocations: 65.48 kB / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3325, allocations: 8 kB / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3325, allocations: 0 / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3326, allocations: 0 / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.3326, allocations: 4 kB / 0.7911 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3326, allocations: 0 / 0.7911 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.3327, allocations: 19.77 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3327, allocations: 4 kB / 0.7911 GB, free: 7.617 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.0001286/0.3328, allocations: 193.2 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.3329, allocations: 116.8 kB / 0.7914 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.333, allocations: 116.8 kB / 0.7915 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.94e-05/0.3331, allocations: 180.2 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.643e-05/0.3332, allocations: 180.2 kB / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.3e-05/0.3332, allocations: 176.3 kB / 0.792 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3335, allocations: 433.1 kB / 0.7925 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/0.3335, allocations: 101 kB / 0.7925 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.3336, allocations: 101 kB / 0.7926 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.28e-05/0.3336, allocations: 192.3 kB / 0.7928 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.3337, allocations: 180.3 kB / 0.793 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-05/0.3338, allocations: 192.2 kB / 0.7932 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.429e-05/0.3339, allocations: 176.3 kB / 0.7934 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.334, allocations: 311.8 kB / 0.7936 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.3341, allocations: 186 kB / 0.7938 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.3342, allocations: 192.2 kB / 0.794 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.3343, allocations: 105 kB / 0.7941 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.3344, allocations: 184.2 kB / 0.7943 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.3344, allocations: 105 kB / 0.7944 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3345, allocations: 125.7 kB / 0.7945 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3345, allocations: 0 / 0.7945 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002146/0.3348, allocations: 8 kB / 0.7945 GB, free: 3.914 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.00015/0.3349, allocations: 174.5 kB / 0.7947 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.993e-05/0.335, allocations: 11.94 kB / 0.7947 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.335, allocations: 0 / 0.7947 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.335, allocations: 0 / 0.7947 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3354, allocations: 0.5226 MB / 0.7952 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.3357, allocations: 238.1 kB / 0.7954 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3361, allocations: 0.6965 MB / 0.7961 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.3361, allocations: 11.72 kB / 0.7961 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.3361, allocations: 11.44 kB / 0.7961 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3362, allocations: 0 / 0.7961 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.002638/0.3388, allocations: 395.9 kB / 0.7965 GB, free: 1.797 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) Environment - environmentSimulation: