Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 114.5 kB / 16.37 MB, free: 5.984 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.001129/0.001129, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02223/0.02223, allocations: 4.654 MB / 295.8 MB, free: 10.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.89 kB / 358 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2123, allocations: 50.49 MB / 408.5 MB, free: 30.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002163/0.2145, allocations: 1.707 MB / 410.2 MB, free: 29.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.215, allocations: 478.4 kB / 410.7 MB, free: 28.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.2151, allocations: 3.938 kB / 410.7 MB, free: 28.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.273e-05/0.2152, allocations: 15.86 kB / 410.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.2153, allocations: 23.72 kB / 410.7 MB, free: 28.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.2154, allocations: 43.94 kB / 410.7 MB, free: 28.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.2156, allocations: 115.6 kB / 410.9 MB, free: 28.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2157, allocations: 53.08 kB / 410.9 MB, free: 28.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.2158, allocations: 55.77 kB / 411 MB, free: 28.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.2159, allocations: 63.69 kB / 411 MB, free: 28.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2159, allocations: 12 kB / 411 MB, free: 28.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.2159, allocations: 8 kB / 411 MB, free: 28.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.216, allocations: 23.92 kB / 411.1 MB, free: 28.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.216, allocations: 51.67 kB / 411.1 MB, free: 28.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.2161, allocations: 105.5 kB / 411.2 MB, free: 28.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2161, allocations: 0 / 411.2 MB, free: 28.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2161, allocations: 0 / 411.2 MB, free: 28.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.2161, allocations: 3.938 kB / 411.2 MB, free: 28.01 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005881/0.2167, allocations: 472.4 kB / 411.7 MB, free: 27.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2168, allocations: 12.03 kB / 411.7 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.2168, allocations: 12.75 kB / 411.7 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.217, allocations: 204.6 kB / 411.9 MB, free: 27.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.217, allocations: 384 / 411.9 MB, free: 27.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.217, allocations: 16.12 kB / 411.9 MB, free: 27.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.2173, allocations: 165.8 kB / 412.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2173, allocations: 7.984 kB / 412.1 MB, free: 27.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2173, allocations: 4 kB / 412.1 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2173, allocations: 7.938 kB / 412.1 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.2177, allocations: 127.8 kB / 412.2 MB, free: 26.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.2183, allocations: 0.7121 MB / 412.9 MB, free: 26.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.2187, allocations: 262.1 kB / 413.2 MB, free: 25.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2189, allocations: 96.27 kB / 413.3 MB, free: 25.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.2189, allocations: 4 kB / 413.3 MB, free: 25.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.2192, allocations: 159.5 kB / 413.5 MB, free: 25.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.2192, allocations: 0 / 413.5 MB, free: 25.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005992/0.2198, allocations: 249.2 kB / 413.7 MB, free: 25.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2198, allocations: 158.2 kB / 413.9 MB, free: 25.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2199, allocations: 167.7 kB / 414 MB, free: 24.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.22, allocations: 30.08 kB / 414.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.22, allocations: 112 kB / 414.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.22, allocations: 39.45 kB / 414.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.2201, allocations: 29.7 kB / 414.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.2201, allocations: 326.8 kB / 414.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2203, allocations: 59.94 kB / 414.6 MB, free: 24.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2205, allocations: 108.2 kB / 414.7 MB, free: 24.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.2208, allocations: 181.8 kB / 414.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2208, allocations: 0 / 414.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004273/0.2213, allocations: 227.4 kB / 415.1 MB, free: 23.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2213, allocations: 29.7 kB / 415.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2213, allocations: 4.094 kB / 415.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2213, allocations: 11.97 kB / 415.2 MB, free: 23.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.2215, allocations: 27.97 kB / 415.2 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2215, allocations: 4 kB / 415.2 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2217, allocations: 27.88 kB / 415.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2217, allocations: 4 kB / 415.2 MB, free: 23.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 7.204e-05/0.2218, allocations: 136.7 kB / 415.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2218, allocations: 15.91 kB / 415.4 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.2219, allocations: 89.83 kB / 415.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2219, allocations: 0 / 415.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.222, allocations: 4 kB / 415.5 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.222, allocations: 0 / 415.5 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.2222, allocations: 437.7 kB / 415.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2222, allocations: 7.938 kB / 415.9 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.2224, allocations: 35.97 kB / 415.9 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2224, allocations: 0 / 415.9 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2224, allocations: 4 kB / 415.9 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2224, allocations: 0 / 415.9 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2224, allocations: 4 kB / 415.9 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.2228, allocations: 373 kB / 416.3 MB, free: 22.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2228, allocations: 92.86 kB / 416.4 MB, free: 22.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.2228, allocations: 4 kB / 416.4 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.223, allocations: 23.97 kB / 416.4 MB, free: 22.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.2231, allocations: 19.98 kB / 416.4 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2231, allocations: 7.984 kB / 416.4 MB, free: 22.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.776e-05/0.2232, allocations: 119.2 kB / 416.6 MB, free: 22.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2232, allocations: 0 / 416.6 MB, free: 22.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.2235, allocations: 27.94 kB / 416.6 MB, free: 22.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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 7.045e-05/0.2235, allocations: 99.92 kB / 416.7 MB, free: 22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004152/0.224, allocations: 211.2 kB / 416.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.224, allocations: 0 / 416.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.2242, allocations: 91.86 kB / 417 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.2246, allocations: 26.5 kB / 417 MB, free: 21.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.225, allocations: 290.6 kB / 417.3 MB, free: 21.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2252, allocations: 0.7158 MB / 418 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.2252, allocations: 16.88 kB / 418 MB, free: 20.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.2253, allocations: 15.42 kB / 418 MB, free: 20.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2253, allocations: 0 / 418 MB, free: 20.57 MB / 302.1 MB Notification: Performance of Templates: time 0.003101/0.2284, allocations: 1.392 MB / 419.4 MB, free: 19.19 MB / 302.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)