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.005785/0.005785, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.00121/0.00121, allocations: 199.3 kB / 16.67 MB, free: 6.352 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.121/0.121, allocations: 4.62 MB / 295.2 MB, free: 3.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.91 kB / 408.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2194, allocations: 50.5 MB / 458.7 MB, free: 20.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002059/0.2215, allocations: 1.699 MB / 460.4 MB, free: 19.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005545/0.222, allocations: 477 kB / 460.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.2221, allocations: 2.906 kB / 460.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.003e-05/0.2222, allocations: 15.66 kB / 460.9 MB, free: 18.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.355e-05/0.2223, allocations: 29.09 kB / 460.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.2224, allocations: 39.3 kB / 461 MB, free: 18.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.2226, allocations: 117.6 kB / 461.1 MB, free: 18.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2227, allocations: 59.7 kB / 461.2 MB, free: 18.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.2228, allocations: 57.98 kB / 461.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.2229, allocations: 56 kB / 461.3 MB, free: 18.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.223, allocations: 12.94 kB / 461.3 MB, free: 18.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.045e-05/0.223, allocations: 9 kB / 461.3 MB, free: 18.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.223, allocations: 24.38 kB / 461.3 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.2231, allocations: 52.55 kB / 461.4 MB, free: 18.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.2232, allocations: 110.5 kB / 461.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2232, allocations: 0 / 461.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2232, allocations: 0 / 461.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2233, allocations: 3.094 kB / 461.5 MB, free: 18.6 MB / 350.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.0005944/0.2239, allocations: 473.2 kB / 461.9 MB, free: 18.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.2239, allocations: 9 kB / 461.9 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.2239, allocations: 14.81 kB / 462 MB, free: 18.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2241, allocations: 201 kB / 462.2 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2241, allocations: 7.438 kB / 462.2 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2241, allocations: 10.78 kB / 462.2 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.2244, allocations: 176 kB / 462.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2245, allocations: 0 / 462.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2245, allocations: 6.969 kB / 462.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2245, allocations: 3.062 kB / 462.4 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.2248, allocations: 126.4 kB / 462.5 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.2254, allocations: 0.7247 MB / 463.2 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.2258, allocations: 263.4 kB / 463.5 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.226, allocations: 90.44 kB / 463.5 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2261, allocations: 8.031 kB / 463.6 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.2263, allocations: 158.4 kB / 463.7 MB, free: 16.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.2264, allocations: 0 / 463.7 MB, free: 16.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006539/0.227, allocations: 247.8 kB / 463.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.2271, allocations: 161.7 kB / 464.1 MB, free: 16.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.2272, allocations: 168.9 kB / 464.3 MB, free: 16.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2272, allocations: 34.31 kB / 464.3 MB, free: 16.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.2272, allocations: 110.5 kB / 464.4 MB, free: 16.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2273, allocations: 33.94 kB / 464.4 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.2273, allocations: 33 kB / 464.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.2274, allocations: 321.9 kB / 464.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2276, allocations: 63.09 kB / 464.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.2277, allocations: 97.58 kB / 464.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.2281, allocations: 182.1 kB / 465.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2281, allocations: 0 / 465.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004643/0.2286, allocations: 231.7 kB / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2286, allocations: 36.86 kB / 465.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2286, allocations: 0 / 465.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2286, allocations: 6.969 kB / 465.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2288, allocations: 38.91 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2288, allocations: 3.984 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.229, allocations: 26.67 kB / 465.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.229, allocations: 11.27 kB / 465.5 MB, free: 15.48 MB / 350.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 6.898e-05/0.2291, allocations: 134 kB / 465.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2291, allocations: 14.83 kB / 465.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.2293, allocations: 90.41 kB / 465.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2293, allocations: 7.031 kB / 465.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2293, allocations: 1 kB / 465.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2293, allocations: 2.312 kB / 465.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2296, allocations: 431.3 kB / 466.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2296, allocations: 4.969 kB / 466.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2297, allocations: 27.16 kB / 466.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2297, allocations: 1.766 kB / 466.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2297, allocations: 3.203 kB / 466.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2298, allocations: 2.375 kB / 466.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2298, allocations: 1.281 kB / 466.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.2302, allocations: 370.8 kB / 466.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.2302, allocations: 89.98 kB / 466.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.2303, allocations: 8.656 kB / 466.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.2305, allocations: 20.5 kB / 466.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.2305, allocations: 21.31 kB / 466.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2306, allocations: 4.938 kB / 466.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.164e-05/0.2306, allocations: 122.8 kB / 466.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2306, allocations: 0 / 466.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.2309, allocations: 31.77 kB / 466.8 MB, free: 14.39 MB / 350.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 6.589e-05/0.231, allocations: 111.2 kB / 466.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.2315, allocations: 204.9 kB / 467.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2315, allocations: 5.219 kB / 467.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.2317, allocations: 94.95 kB / 467.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2321, allocations: 26.19 kB / 467.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.2326, allocations: 281.4 kB / 467.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2327, allocations: 0.7195 MB / 468.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.2328, allocations: 14.92 kB / 468.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.2329, allocations: 19.31 kB / 468.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2329, allocations: 0 / 468.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003522/0.2364, allocations: 1.407 MB / 469.7 MB, free: 13.1 MB / 350.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 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)