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.001324/0.001324, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001382/0.001382, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02179/0.02179, allocations: 4.653 MB / 295.8 MB, free: 10.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 358 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1989, allocations: 50.49 MB / 408.5 MB, free: 30.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002304/0.2012, allocations: 1.707 MB / 410.2 MB, free: 29.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005544/0.2018, allocations: 481.5 kB / 410.7 MB, free: 28.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.2018, allocations: 0 / 410.7 MB, free: 28.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.355e-05/0.2019, allocations: 15.86 kB / 410.7 MB, free: 28.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.202, allocations: 22.23 kB / 410.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2022, allocations: 47.92 kB / 410.7 MB, free: 28.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2023, allocations: 123.6 kB / 410.9 MB, free: 28.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2025, allocations: 45.09 kB / 410.9 MB, free: 28.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2026, allocations: 59.77 kB / 411 MB, free: 28.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.2026, allocations: 59.7 kB / 411 MB, free: 28.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2027, allocations: 12 kB / 411 MB, free: 28.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.2027, allocations: 8 kB / 411 MB, free: 28.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.2027, allocations: 23.91 kB / 411.1 MB, free: 28.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.2028, allocations: 51.67 kB / 411.1 MB, free: 28.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.2029, allocations: 109.4 kB / 411.2 MB, free: 28.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2029, allocations: 0 / 411.2 MB, free: 28.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2029, allocations: 0 / 411.2 MB, free: 28.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2029, allocations: 0 / 411.2 MB, free: 28.02 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.0005747/0.2035, allocations: 472.4 kB / 411.7 MB, free: 27.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2036, allocations: 15.89 kB / 411.7 MB, free: 27.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.2036, allocations: 12.75 kB / 411.7 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2038, allocations: 205.9 kB / 411.9 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2038, allocations: 4.375 kB / 411.9 MB, free: 27.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2038, allocations: 12.12 kB / 411.9 MB, free: 27.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.2041, allocations: 169.8 kB / 412.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2041, allocations: 4 kB / 412.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2042, allocations: 0 / 412.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2042, allocations: 4 kB / 412.1 MB, free: 27.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.2045, allocations: 135.8 kB / 412.2 MB, free: 26.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.2052, allocations: 0.716 MB / 413 MB, free: 26.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2056, allocations: 262.1 kB / 413.2 MB, free: 25.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.2058, allocations: 96.27 kB / 413.3 MB, free: 25.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2058, allocations: 4 kB / 413.3 MB, free: 25.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.2061, allocations: 163.5 kB / 413.5 MB, free: 25.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.2061, allocations: 0 / 413.5 MB, free: 25.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006162/0.2067, allocations: 241.7 kB / 413.7 MB, free: 25.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2068, allocations: 162.2 kB / 413.9 MB, free: 25.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.2069, allocations: 163.7 kB / 414 MB, free: 24.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2069, allocations: 33.64 kB / 414.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.2069, allocations: 116.2 kB / 414.2 MB, free: 24.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.207, allocations: 39.44 kB / 414.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.207, allocations: 33.7 kB / 414.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.2071, allocations: 318.8 kB / 414.6 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.2072, allocations: 63.94 kB / 414.6 MB, free: 24.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2074, allocations: 100.2 kB / 414.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.2078, allocations: 185.8 kB / 414.9 MB, free: 23.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2078, allocations: 0 / 414.9 MB, free: 23.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004303/0.2082, allocations: 227 kB / 415.1 MB, free: 23.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2083, allocations: 29.7 kB / 415.1 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2083, allocations: 0 / 415.1 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2083, allocations: 12.03 kB / 415.2 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.2085, allocations: 27.97 kB / 415.2 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2085, allocations: 4 kB / 415.2 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2086, allocations: 27.88 kB / 415.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.2086, allocations: 4 kB / 415.2 MB, free: 23.62 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.126e-05/0.2087, allocations: 133.7 kB / 415.3 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2088, allocations: 11.91 kB / 415.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.2089, allocations: 97.83 kB / 415.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2089, allocations: 0 / 415.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2089, allocations: 4 kB / 415.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2089, allocations: 0 / 415.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.2092, allocations: 433.6 kB / 415.9 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2092, allocations: 3.938 kB / 415.9 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.2094, allocations: 32.03 kB / 415.9 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2094, allocations: 0 / 415.9 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2094, allocations: 7.984 kB / 415.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2094, allocations: 0 / 415.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2094, allocations: 4 kB / 415.9 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.2098, allocations: 369.1 kB / 416.3 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.2099, allocations: 96.8 kB / 416.4 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.2099, allocations: 4.062 kB / 416.4 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2101, allocations: 27.97 kB / 416.4 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.2102, allocations: 19.98 kB / 416.4 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2102, allocations: 4 kB / 416.4 MB, free: 22.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.2103, allocations: 123.2 kB / 416.6 MB, free: 22.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2103, allocations: 0 / 416.6 MB, free: 22.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.2106, allocations: 27.94 kB / 416.6 MB, free: 22.12 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 5.722e-05/0.2106, allocations: 103.9 kB / 416.7 MB, free: 22.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.2111, 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.004e-06/0.2111, allocations: 0 / 416.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.2113, allocations: 87.88 kB / 417 MB, free: 21.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.2117, allocations: 31.02 kB / 417 MB, free: 21.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.2122, allocations: 282.9 kB / 417.3 MB, free: 21.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2124, allocations: 0.7158 MB / 418 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.2124, allocations: 20.53 kB / 418 MB, free: 20.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2125, allocations: 15.44 kB / 418 MB, free: 20.58 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2125, allocations: 0 / 418 MB, free: 20.58 MB / 302.1 MB Notification: Performance of Templates: time 0.003224/0.2157, allocations: 1.4 MB / 419.4 MB, free: 19.2 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 gbode -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)