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.001412/0.001412, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00175/0.00175, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1349/0.1349, allocations: 4.629 MB / 295.6 MB, free: 4.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004911, allocations: 8 kB / 357.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 51.48 MB / 409.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002145/0.1194, allocations: 1.375 MB / 410.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1204, allocations: 443.3 kB / 410.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1206, allocations: 0 / 410.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1207, allocations: 11.86 kB / 410.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.1208, allocations: 31.89 kB / 410.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.121, allocations: 35.84 kB / 411 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1212, allocations: 71.83 kB / 411 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1213, allocations: 45.27 kB / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1215, allocations: 43.83 kB / 411.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1216, allocations: 39.78 kB / 411.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1216, allocations: 4 kB / 411.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.1217, allocations: 4 kB / 411.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.1217, allocations: 19.91 kB / 411.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.1218, allocations: 41.64 kB / 411.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1219, allocations: 72.09 kB / 411.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1219, allocations: 0 / 411.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1219, allocations: 4 kB / 411.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1219, allocations: 0 / 411.3 MB, free: 12.76 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.0009167/0.1228, allocations: 452.6 kB / 411.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1229, allocations: 12.03 kB / 411.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.1229, allocations: 15.81 kB / 411.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1232, allocations: 207.3 kB / 412 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1232, allocations: 8 kB / 412 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1232, allocations: 8 kB / 412 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.1237, allocations: 180.8 kB / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1237, allocations: 0 / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1237, allocations: 0 / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1238, allocations: 7.953 kB / 412.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.1242, allocations: 151.8 kB / 412.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1254, allocations: 0.7316 MB / 413.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.126, allocations: 290.1 kB / 413.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.126, allocations: 4 kB / 413.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.1264, allocations: 175.6 kB / 413.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 3.477e-06/0.1264, allocations: 3.984 kB / 413.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007904/0.1272, allocations: 281.6 kB / 413.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.1273, allocations: 162.2 kB / 413.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1275, allocations: 166.2 kB / 414.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1275, allocations: 29.7 kB / 414.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.1276, allocations: 104 kB / 414.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.1276, allocations: 39.45 kB / 414.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.1277, allocations: 0 / 414.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1278, allocations: 326.9 kB / 414.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.128, allocations: 71.94 kB / 414.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.1282, allocations: 111.5 kB / 414.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1285, allocations: 113.5 kB / 414.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1285, allocations: 0 / 414.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005565/0.1291, allocations: 251 kB / 415.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.1291, allocations: 33.7 kB / 415.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1291, allocations: 0 / 415.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1291, allocations: 8.094 kB / 415.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.1293, allocations: 35.97 kB / 415.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1294, allocations: 3.938 kB / 415.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1295, allocations: 31.81 kB / 415.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1296, allocations: 12 kB / 415.3 MB, free: 8.422 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 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.1297, allocations: 129.8 kB / 415.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1297, allocations: 11.91 kB / 415.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.13, allocations: 93.83 kB / 415.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.13, allocations: 4 kB / 415.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.13, allocations: 3.938 kB / 415.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.13, allocations: 4 kB / 415.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.1304, allocations: 441.6 kB / 415.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1305, allocations: 4 kB / 415.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1306, allocations: 31.97 kB / 416 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1306, allocations: 4.031 kB / 416 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1307, allocations: 8 kB / 416 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1307, allocations: 0 / 416 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1307, allocations: 7.938 kB / 416 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.1313, allocations: 428 kB / 416.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1314, allocations: 96.86 kB / 416.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.1314, allocations: 7.953 kB / 416.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1316, allocations: 27.97 kB / 416.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.1317, allocations: 20.44 kB / 416.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1317, allocations: 7.938 kB / 416.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.1318, allocations: 119.2 kB / 416.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.1318, allocations: 0 / 416.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1322, allocations: 31.92 kB / 416.7 MB, free: 6.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.1323, allocations: 99.25 kB / 416.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000589/0.1329, allocations: 231.3 kB / 417 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1329, allocations: 0 / 417 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.1332, allocations: 96.11 kB / 417.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1335, allocations: 28.67 kB / 417.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.1342, allocations: 309.1 kB / 417.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1345, allocations: 0.7238 MB / 418.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.1346, allocations: 24.48 kB / 418.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1346, allocations: 11.44 kB / 418.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1346, allocations: 0 / 418.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of Templates: time 0.004419/0.1391, allocations: 1.154 MB / 419.4 MB, free: 4.07 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: