Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108 kB / 16.36 MB, free: 6.285 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.001058/0.001058, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02131/0.02131, allocations: 4.643 MB / 295.8 MB, free: 10.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.08 kB / 358 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1846, allocations: 50.5 MB / 408.5 MB, free: 30.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.002994/0.1877, allocations: 2.872 MB / 411.4 MB, free: 27.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.1885, allocations: 0.6619 MB / 412 MB, free: 27.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1886, allocations: 8 kB / 412 MB, free: 27.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1887, allocations: 39.52 kB / 412.1 MB, free: 27.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1889, allocations: 91.2 kB / 412.2 MB, free: 27.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1891, allocations: 99.83 kB / 412.3 MB, free: 26.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1894, allocations: 382.5 kB / 412.6 MB, free: 26.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1897, allocations: 196.4 kB / 412.8 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1898, allocations: 147.5 kB / 413 MB, free: 26.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.19, allocations: 155.4 kB / 413.1 MB, free: 26.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.19, allocations: 36 kB / 413.1 MB, free: 26.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.1901, allocations: 40 kB / 413.2 MB, free: 26.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1901, allocations: 75.77 kB / 413.3 MB, free: 25.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1902, allocations: 171.2 kB / 413.4 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1905, allocations: 400.5 kB / 413.8 MB, free: 25.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1905, allocations: 3.938 kB / 413.8 MB, free: 25.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1905, allocations: 0 / 413.8 MB, free: 25.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1905, allocations: 4 kB / 413.8 MB, free: 25.41 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008925/0.1914, allocations: 0.6332 MB / 414.5 MB, free: 24.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.1915, allocations: 8.031 kB / 414.5 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.1915, allocations: 32.56 kB / 414.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1917, allocations: 276.6 kB / 414.8 MB, free: 24.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1918, allocations: 24.88 kB / 414.8 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.1918, allocations: 28.38 kB / 414.8 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.1923, allocations: 312 kB / 415.1 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1923, allocations: 0 / 415.1 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1924, allocations: 4 kB / 415.1 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1924, allocations: 8 kB / 415.1 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.1929, allocations: 254 kB / 415.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.194, allocations: 0.9899 MB / 416.4 MB, free: 22.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.1946, allocations: 282.7 kB / 416.7 MB, free: 22.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.1949, allocations: 152.5 kB / 416.8 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1949, allocations: 4 kB / 416.8 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.1952, allocations: 176.9 kB / 417 MB, free: 22.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.1952, allocations: 4 kB / 417 MB, free: 22.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007878/0.196, allocations: 375 kB / 417.3 MB, free: 21.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1961, allocations: 59.34 kB / 417.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1962, allocations: 220.9 kB / 417.6 MB, free: 21.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1962, allocations: 33.69 kB / 417.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.1963, allocations: 168.1 kB / 417.8 MB, free: 21.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.1964, allocations: 74.98 kB / 417.9 MB, free: 21.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.1964, allocations: 49.61 kB / 417.9 MB, free: 21.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.1965, allocations: 334.8 kB / 418.3 MB, free: 20.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.1967, allocations: 111.9 kB / 418.4 MB, free: 20.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.197, allocations: 147.4 kB / 418.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.1974, allocations: 288.2 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1975, allocations: 0 / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005822/0.198, allocations: 353.9 kB / 419.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1981, allocations: 33.69 kB / 419.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1981, allocations: 12.03 kB / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1981, allocations: 0 / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.1984, allocations: 67.89 kB / 419.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1984, allocations: 4 kB / 419.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1986, allocations: 35.7 kB / 419.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1987, allocations: 11.98 kB / 419.3 MB, free: 19.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.1988, allocations: 150.4 kB / 419.5 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1988, allocations: 31.66 kB / 419.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.1994, allocations: 303.6 kB / 419.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1994, allocations: 0 / 419.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1994, allocations: 0 / 419.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1994, allocations: 0 / 419.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1997, allocations: 373.3 kB / 420.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1997, allocations: 0 / 420.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.2, allocations: 59.95 kB / 420.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2, allocations: 3.938 kB / 420.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.2001, allocations: 8 kB / 420.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2001, allocations: 0 / 420.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2001, allocations: 3.984 kB / 420.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.2009, allocations: 458.6 kB / 420.7 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.2009, allocations: 92.89 kB / 420.8 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.201, allocations: 11.98 kB / 420.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2012, allocations: 15.98 kB / 420.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.2012, allocations: 27.95 kB / 420.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.2013, allocations: 4 kB / 420.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.2014, allocations: 164.5 kB / 421 MB, free: 17.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2014, allocations: 0 / 421 MB, free: 17.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.2016, allocations: 75.75 kB / 421.1 MB, free: 17.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.356e-05/0.2017, allocations: 104 kB / 421.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.2023, allocations: 320.1 kB / 421.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2023, allocations: 0 / 421.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.2026, allocations: 131 kB / 421.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2029, allocations: 39.02 kB / 421.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.2038, allocations: 0.6069 MB / 422.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.204, allocations: 0.7671 MB / 423 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.2041, allocations: 33.52 kB / 423 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.2041, allocations: 27.42 kB / 423.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2041, allocations: 0 / 423.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of Templates: time 0.004757/0.2089, allocations: 2.574 MB / 425.6 MB, free: 13.15 MB / 302.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)