Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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: translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 104.1 kB / 15.99 MB, free: 6.359 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.001103/0.001103, allocations: 196.7 kB / 16.91 MB, free: 6.195 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.25/1.25, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02037/0.02037, allocations: 4.646 MB / 295.4 MB, free: 10.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.89 kB / 356.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.212, allocations: 50.49 MB / 407.2 MB, free: 31.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003373/0.2154, allocations: 3.36 MB / 410.5 MB, free: 27.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2165, allocations: 0.7562 MB / 411.3 MB, free: 27.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2167, allocations: 11.94 kB / 411.3 MB, free: 27.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.2168, allocations: 39.69 kB / 411.3 MB, free: 27.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.217, allocations: 111.2 kB / 411.5 MB, free: 26.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.2173, allocations: 119.9 kB / 411.6 MB, free: 26.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.2177, allocations: 0.4986 MB / 412.1 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.2181, allocations: 282.5 kB / 412.3 MB, free: 26.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.2183, allocations: 191.4 kB / 412.5 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2184, allocations: 199.1 kB / 412.7 MB, free: 25.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.2185, allocations: 56 kB / 412.8 MB, free: 25.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.2186, allocations: 64 kB / 412.8 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.2186, allocations: 99.69 kB / 412.9 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.2188, allocations: 227 kB / 413.2 MB, free: 25.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.2191, allocations: 449.2 kB / 413.6 MB, free: 24.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2191, allocations: 0 / 413.6 MB, free: 24.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2191, allocations: 0 / 413.6 MB, free: 24.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2191, allocations: 0 / 413.6 MB, free: 24.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001181/0.2203, allocations: 0.735 MB / 414.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2203, allocations: 8.031 kB / 414.3 MB, free: 24.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.2204, allocations: 48.45 kB / 414.4 MB, free: 23.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.2207, allocations: 302.6 kB / 414.7 MB, free: 23.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.2208, allocations: 62.91 kB / 414.7 MB, free: 23.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.2208, allocations: 32.31 kB / 414.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.2215, allocations: 397.1 kB / 415.2 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2215, allocations: 0 / 415.2 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.2216, allocations: 15.98 kB / 415.2 MB, free: 23.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2216, allocations: 4 kB / 415.2 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.2223, allocations: 326.3 kB / 415.5 MB, free: 22.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2239, allocations: 1.514 MB / 417 MB, free: 21.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.2248, allocations: 373.3 kB / 417.4 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.2251, allocations: 201.6 kB / 417.6 MB, free: 20.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.2252, allocations: 8 kB / 417.6 MB, free: 20.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004534/0.2256, allocations: 242.3 kB / 417.8 MB, free: 20.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.2257, allocations: 4 kB / 417.8 MB, free: 20.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001069/0.2267, allocations: 496.9 kB / 418.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.2268, allocations: 85.23 kB / 418.4 MB, free: 19.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.227, allocations: 290.9 kB / 418.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.227, allocations: 29.7 kB / 418.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.2271, allocations: 196.2 kB / 418.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.2272, allocations: 90.73 kB / 419 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2273, allocations: 65.45 kB / 419.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.2274, allocations: 338.8 kB / 419.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.2277, allocations: 143.9 kB / 419.5 MB, free: 18.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.2281, allocations: 212.8 kB / 419.7 MB, free: 18.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.2287, allocations: 371.2 kB / 420.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2287, allocations: 3.984 kB / 420.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007767/0.2295, allocations: 442.9 kB / 420.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.2295, allocations: 37.73 kB / 420.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2296, allocations: 0 / 420.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2296, allocations: 4 kB / 420.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.2304, allocations: 215.7 kB / 420.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2317, allocations: 1.683 MB / 422.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.232, allocations: 51.7 kB / 422.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.232, allocations: 16.06 kB / 422.5 MB, free: 15.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.2322, allocations: 177.7 kB / 422.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.2323, allocations: 23.72 kB / 422.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/0.233, allocations: 371.5 kB / 423.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.233, allocations: 4 kB / 423.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.233, allocations: 0 / 423.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.233, allocations: 0 / 423.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.2333, allocations: 457.1 kB / 423.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2333, allocations: 4 kB / 423.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.2342, allocations: 199.7 kB / 423.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2342, allocations: 0 / 423.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.2343, allocations: 8 kB / 423.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.2354, allocations: 1.687 MB / 425.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2354, allocations: 0 / 425.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2364, allocations: 0.5727 MB / 426 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.2365, allocations: 112.7 kB / 426.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2365, allocations: 8 kB / 426.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2367, allocations: 27.97 kB / 426.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.2368, allocations: 35.89 kB / 426.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.2369, allocations: 8 kB / 426.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.237, allocations: 206 kB / 426.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.237, allocations: 0 / 426.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.2374, allocations: 95.69 kB / 426.5 MB, free: 11.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.394e-05/0.2375, allocations: 107.1 kB / 426.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.2389, allocations: 0.5266 MB / 427.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2389, allocations: 4.062 kB / 427.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.2397, allocations: 299.6 kB / 427.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.2401, allocations: 52.88 kB / 427.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.2417, allocations: 1.012 MB / 428.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2419, allocations: 0.7947 MB / 429.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.242, allocations: 27.44 kB / 429.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.242, allocations: 0 / 429.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of Templates: time 0.005889/0.2479, allocations: 5.875 MB / 435.2 MB, free: 2.398 MB / 302.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)