Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.48/2.48, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 189.7 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.304/2.304, allocations: 205.4 MB / 0.5767 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000906/0.0009058, allocations: 103.9 kB / 0.6813 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 11.56 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 106.3 MB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001924/0.2062, allocations: 1.243 MB / 0.9002 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001489/0.2064, allocations: 31.86 kB / 0.9003 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.2065, allocations: 0 / 0.9003 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2066, allocations: 7.922 kB / 0.9003 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.2067, allocations: 7.938 kB / 0.9003 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.2068, allocations: 19.97 kB / 0.9003 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.2069, allocations: 39.86 kB / 0.9004 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2071, allocations: 31.97 kB / 0.9004 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.2071, allocations: 19.91 kB / 0.9004 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.2072, allocations: 19.92 kB / 0.9004 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2072, allocations: 0 / 0.9004 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.2073, allocations: 4 kB / 0.9004 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.2073, allocations: 15.92 kB / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.2074, allocations: 33.7 kB / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.358e-05/0.2075, allocations: 35.94 kB / 0.9005 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2075, allocations: 3.938 kB / 0.9005 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2075, allocations: 3.984 kB / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2075, allocations: 4 kB / 0.9005 GB, free: 64.37 MB / 0.6042 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.0003528/0.2079, allocations: 348.7 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2079, allocations: 8.031 kB / 0.9009 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.208, allocations: 8.844 kB / 0.9009 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2081, allocations: 188.2 kB / 0.901 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2082, allocations: 12.36 kB / 0.9011 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2082, allocations: 8.312 kB / 0.9011 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2084, allocations: 99.34 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2084, allocations: 192 / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.2084, allocations: 7.938 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2084, allocations: 3.938 kB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2086, allocations: 43.97 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.2092, allocations: 0.6362 MB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.548e-05/0.2092, allocations: 173.1 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.2093, allocations: 80.14 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2093, allocations: 75.28 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2093, allocations: 117.8 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.2093, allocations: 0 / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.124e-05/0.2094, allocations: 37.55 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2095, allocations: 130.6 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2097, allocations: 168.4 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.2097, allocations: 25.7 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.2098, allocations: 111.9 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.2098, allocations: 4 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.2098, allocations: 0 / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.2099, allocations: 318.8 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.2099, allocations: 7.984 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.2099, allocations: 18.58 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.21, allocations: 8 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.21, allocations: 4 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000136/0.2101, allocations: 57.53 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2102, allocations: 4 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2102, allocations: 0 / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2102, allocations: 3.938 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.2103, allocations: 12 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2103, allocations: 3.938 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.2104, allocations: 7.906 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2104, allocations: 4 kB / 0.9031 GB, free: 61.43 MB / 0.6042 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 8.444e-05/0.2105, allocations: 197.2 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.2105, allocations: 108.9 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.2106, allocations: 116.7 kB / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/0.2106, allocations: 180.2 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.364e-05/0.2107, allocations: 184.3 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.315e-05/0.2107, allocations: 184.2 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.2109, allocations: 421.2 kB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.2109, allocations: 104.9 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.211, allocations: 105 kB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.3e-05/0.211, allocations: 176.3 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.2111, allocations: 188.3 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-05/0.2111, allocations: 184.3 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.785e-05/0.2112, allocations: 196.2 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/0.2113, allocations: 303.8 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.2114, allocations: 197.9 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.2114, allocations: 184.2 kB / 0.906 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.2115, allocations: 108.9 kB / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.2116, allocations: 176.3 kB / 0.9063 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.2116, allocations: 101 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2117, allocations: 133.3 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.603e-06/0.2118, allocations: 3.938 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002769/0.212, allocations: 7.938 kB / 0.9065 GB, free: 57.72 MB / 0.6042 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.0001375/0.2122, allocations: 174.5 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.517e-05/0.2123, allocations: 12 kB / 0.9067 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2123, allocations: 0 / 0.9067 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.2123, allocations: 0 / 0.9067 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2127, allocations: 0.5304 MB / 0.9072 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.2131, allocations: 233.9 kB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2133, allocations: 0.6965 MB / 0.9081 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.606e-05/0.2133, allocations: 8 kB / 0.9082 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.2133, allocations: 7.438 kB / 0.9082 GB, free: 56 MB / 0.6042 GB Notification: Performance of SimCode: time 1.382e-06/0.2134, allocations: 0 / 0.9082 GB, free: 56 MB / 0.6042 GB Notification: Performance of Templates: time 0.003146/0.2165, allocations: 391.9 kB / 0.9085 GB, free: 55.62 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)