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.001121/0.001121, allocations: 105.6 kB / 15.99 MB, free: 5.895 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.001121/0.001121, allocations: 194.6 kB / 16.91 MB, free: 5.746 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02063/0.02063, allocations: 4.63 MB / 295.4 MB, free: 10.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.91 kB / 356.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2142, allocations: 50.5 MB / 407.2 MB, free: 31.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003454/0.2177, allocations: 3.02 MB / 410.2 MB, free: 28.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.2186, allocations: 0.6601 MB / 410.9 MB, free: 27.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2187, allocations: 10.56 kB / 410.9 MB, free: 27.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.2189, allocations: 27.77 kB / 410.9 MB, free: 27.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2191, allocations: 72.39 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.2193, allocations: 99.86 kB / 411.1 MB, free: 27.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.2197, allocations: 374.6 kB / 411.4 MB, free: 26.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.22, allocations: 196.4 kB / 411.6 MB, free: 26.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.2201, allocations: 147.5 kB / 411.8 MB, free: 26.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2203, allocations: 155.4 kB / 411.9 MB, free: 26.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.2203, allocations: 36 kB / 412 MB, free: 26.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.2204, allocations: 40 kB / 412 MB, free: 26.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.2204, allocations: 71.77 kB / 412.1 MB, free: 26.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2206, allocations: 171.2 kB / 412.2 MB, free: 26.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.2208, allocations: 309.4 kB / 412.5 MB, free: 25.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2208, allocations: 0 / 412.5 MB, free: 25.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2208, allocations: 4 kB / 412.5 MB, free: 25.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2208, allocations: 0 / 412.5 MB, free: 25.7 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.001015/0.2218, allocations: 0.6293 MB / 413.2 MB, free: 25.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2219, allocations: 16.02 kB / 413.2 MB, free: 25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.222, allocations: 36.56 kB / 413.2 MB, free: 24.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2222, allocations: 268.6 kB / 413.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2222, allocations: 20.94 kB / 413.5 MB, free: 24.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.2223, allocations: 24.38 kB / 413.5 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.2228, allocations: 315.9 kB / 413.8 MB, free: 24.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2228, allocations: 0 / 413.8 MB, free: 24.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2229, allocations: 15.94 kB / 413.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2229, allocations: 4 kB / 413.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.2234, allocations: 250.1 kB / 414.1 MB, free: 24.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2246, allocations: 0.9938 MB / 415.1 MB, free: 22.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.2252, allocations: 286.6 kB / 415.4 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.2255, allocations: 142.8 kB / 415.5 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.2255, allocations: 4 kB / 415.5 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00034/0.2259, allocations: 175.2 kB / 415.7 MB, free: 22.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.2259, allocations: 4 kB / 415.7 MB, free: 22.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008302/0.2267, allocations: 379 kB / 416.1 MB, free: 21.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2268, allocations: 55.41 kB / 416.1 MB, free: 21.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2269, allocations: 220.9 kB / 416.3 MB, free: 21.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2269, allocations: 29.7 kB / 416.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.227, allocations: 176 kB / 416.5 MB, free: 21.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.2271, allocations: 74.98 kB / 416.6 MB, free: 21.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.2271, allocations: 49.61 kB / 416.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.2272, allocations: 334.8 kB / 417 MB, free: 21.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.2275, allocations: 111.9 kB / 417.1 MB, free: 20.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.2277, allocations: 143.4 kB / 417.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.2282, allocations: 285.9 kB / 417.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2282, allocations: 3.984 kB / 417.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006233/0.2288, allocations: 349.9 kB / 417.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.2289, allocations: 40.34 kB / 417.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2289, allocations: 4.094 kB / 417.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2289, allocations: 4 kB / 417.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2292, allocations: 67.83 kB / 418 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2292, allocations: 4 kB / 418 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.2295, allocations: 39.75 kB / 418 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.2295, allocations: 8 kB / 418 MB, free: 19.93 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.0001159/0.2296, allocations: 161.4 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.2297, allocations: 27.66 kB / 418.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/0.2303, allocations: 301.6 kB / 418.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2303, allocations: 0 / 418.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2303, allocations: 0 / 418.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2303, allocations: 11.98 kB / 418.5 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2306, allocations: 369.3 kB / 418.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.2306, allocations: 0 / 418.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.2309, allocations: 55.95 kB / 418.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2309, allocations: 7.922 kB / 418.9 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2309, allocations: 8 kB / 418.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2309, allocations: 4 kB / 418.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2309, allocations: 0 / 418.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.2318, allocations: 456.5 kB / 419.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.2318, allocations: 96.89 kB / 419.5 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2319, allocations: 4 kB / 419.5 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2321, allocations: 28.03 kB / 419.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.2321, allocations: 23.97 kB / 419.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.2322, allocations: 4 kB / 419.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.65e-05/0.2323, allocations: 160.5 kB / 419.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2323, allocations: 0 / 419.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.2326, allocations: 75.69 kB / 419.8 MB, free: 18.08 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.764e-05/0.2326, allocations: 107.2 kB / 419.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.2333, allocations: 334.7 kB / 420.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2333, allocations: 0 / 420.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.2336, allocations: 131.9 kB / 420.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2339, allocations: 32.55 kB / 420.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.235, allocations: 0.7414 MB / 421.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.2351, allocations: 0.7593 MB / 421.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.2352, allocations: 23.44 kB / 421.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2352, allocations: 3.938 kB / 421.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Templates: time 0.004163/0.2394, allocations: 3.261 MB / 425.2 MB, free: 12.63 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 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)