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.001287/0.001287, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001199/0.001199, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02173/0.02173, allocations: 4.653 MB / 295.8 MB, free: 10.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 358 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2009, allocations: 50.51 MB / 408.5 MB, free: 30.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003939/0.2049, allocations: 3.197 MB / 411.7 MB, free: 27.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009178/0.2059, allocations: 0.7821 MB / 412.5 MB, free: 26.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.206, allocations: 11.28 kB / 412.5 MB, free: 26.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2062, allocations: 55.44 kB / 412.5 MB, free: 26.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.2063, allocations: 122.9 kB / 412.6 MB, free: 26.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.2066, allocations: 125.3 kB / 412.8 MB, free: 26.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.207, allocations: 0.5102 MB / 413.3 MB, free: 25.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.2074, allocations: 282.1 kB / 413.6 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2075, allocations: 191.4 kB / 413.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2077, allocations: 199.2 kB / 413.9 MB, free: 25.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.2078, allocations: 56 kB / 414 MB, free: 25.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.2079, allocations: 59.94 kB / 414 MB, free: 25.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.2079, allocations: 103.7 kB / 414.1 MB, free: 25.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2081, allocations: 227.1 kB / 414.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.2084, allocations: 0.543 MB / 414.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2084, allocations: 0 / 414.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2084, allocations: 0 / 414.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2085, allocations: 4 kB / 414.9 MB, free: 24.29 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.001111/0.2096, allocations: 0.7388 MB / 415.7 MB, free: 23.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.2096, allocations: 12.03 kB / 415.7 MB, free: 23.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.2097, allocations: 40.47 kB / 415.7 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.21, allocations: 314.6 kB / 416 MB, free: 23.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.2101, allocations: 50.92 kB / 416.1 MB, free: 23.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.2101, allocations: 36.36 kB / 416.1 MB, free: 23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.2108, allocations: 397.1 kB / 416.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2108, allocations: 0 / 416.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.2108, allocations: 15.94 kB / 416.5 MB, free: 22.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2108, allocations: 8 kB / 416.5 MB, free: 22.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.2115, allocations: 326.4 kB / 416.8 MB, free: 22.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.2131, allocations: 1.499 MB / 418.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.214, allocations: 381.3 kB / 418.7 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.2143, allocations: 209.5 kB / 418.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2144, allocations: 0 / 418.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.2148, allocations: 238.4 kB / 419.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.2148, allocations: 0 / 419.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001068/0.2159, allocations: 0.4891 MB / 419.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.2159, allocations: 85.23 kB / 419.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.2162, allocations: 286.9 kB / 420 MB, free: 18.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.2162, allocations: 33.7 kB / 420 MB, free: 18.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.2163, allocations: 196.2 kB / 420.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.2163, allocations: 90.73 kB / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.2164, allocations: 61.47 kB / 420.4 MB, free: 18.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.2165, allocations: 342.8 kB / 420.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.2168, allocations: 155.8 kB / 420.9 MB, free: 18.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.2172, allocations: 200.9 kB / 421 MB, free: 17.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.2178, allocations: 371.4 kB / 421.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2179, allocations: 0 / 421.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007898/0.2187, allocations: 450.8 kB / 421.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.2187, allocations: 33.86 kB / 421.9 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2187, allocations: 4 kB / 421.9 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2187, allocations: 4 kB / 421.9 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/0.2196, allocations: 211.7 kB / 422.1 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.2208, allocations: 1.679 MB / 423.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.221, allocations: 47.75 kB / 423.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.2211, allocations: 8 kB / 423.8 MB, free: 14.85 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.0001559/0.2212, allocations: 181.6 kB / 424 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2213, allocations: 23.72 kB / 424 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.222, allocations: 375.6 kB / 424.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.222, allocations: 4 kB / 424.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.222, allocations: 0 / 424.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2221, allocations: 0 / 424.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.2224, allocations: 457.1 kB / 424.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2224, allocations: 0 / 424.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000898/0.2233, allocations: 203.7 kB / 425 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2233, allocations: 8 kB / 425.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2233, allocations: 4 kB / 425.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.2244, allocations: 1.675 MB / 426.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2244, allocations: 0 / 426.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2255, allocations: 0.573 MB / 427.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.2255, allocations: 108.7 kB / 427.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.2256, allocations: 7.984 kB / 427.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2258, allocations: 27.97 kB / 427.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.2259, allocations: 23.97 kB / 427.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2259, allocations: 15.94 kB / 427.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.226, allocations: 205.9 kB / 427.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.226, allocations: 3.938 kB / 427.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.2264, allocations: 87.78 kB / 427.8 MB, free: 10.66 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 8.053e-05/0.2265, allocations: 99.25 kB / 427.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.2278, allocations: 0.5381 MB / 428.4 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2278, allocations: 0 / 428.4 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008809/0.2287, allocations: 307.8 kB / 428.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.2291, allocations: 66.89 kB / 428.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.2306, allocations: 0.8545 MB / 429.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.2308, allocations: 0.787 MB / 430.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.2309, allocations: 42.14 kB / 430.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.231, allocations: 23.44 kB / 430.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.231, allocations: 4 kB / 430.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of Templates: time 0.005759/0.2368, allocations: 3.549 MB / 434 MB, free: 4.355 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 -s gbode -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)