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.0008598/0.0008598, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008871/0.0008871, allocations: 168.7 kB / 15.95 MB, free: 204 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1929/0.1929, allocations: 4.629 MB / 295.7 MB, free: 4.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 12 kB / 357.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 51.49 MB / 409.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002144/0.1246, allocations: 1.379 MB / 410.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.1256, allocations: 451.2 kB / 411 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.1257, allocations: 0 / 411 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.1258, allocations: 7.922 kB / 411 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.1259, allocations: 23.78 kB / 411 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1261, allocations: 27.97 kB / 411.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1263, allocations: 107.6 kB / 411.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1265, allocations: 49.25 kB / 411.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1266, allocations: 43.84 kB / 411.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1267, allocations: 51.69 kB / 411.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1268, allocations: 4 kB / 411.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.1268, allocations: 4 kB / 411.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.1268, allocations: 23.86 kB / 411.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.1269, allocations: 41.64 kB / 411.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.127, allocations: 68.09 kB / 411.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.127, allocations: 0 / 411.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.127, allocations: 0 / 411.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.127, allocations: 4 kB / 411.5 MB, free: 12.64 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.000768/0.1278, allocations: 452.6 kB / 411.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1279, allocations: 12.03 kB / 411.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.1279, allocations: 11.81 kB / 411.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1281, allocations: 206 kB / 412.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1282, allocations: 4 kB / 412.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1282, allocations: 8 kB / 412.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.1286, allocations: 183.6 kB / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1286, allocations: 0 / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1286, allocations: 4 kB / 412.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1286, allocations: 7.953 kB / 412.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.129, allocations: 151.8 kB / 412.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.1299, allocations: 0.7316 MB / 413.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.1304, allocations: 286.1 kB / 413.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.1306, allocations: 112.3 kB / 413.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1306, allocations: 0 / 413.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.131, allocations: 171.5 kB / 413.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.131, allocations: 0 / 413.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007218/0.1317, allocations: 277.6 kB / 414 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.1318, allocations: 170.1 kB / 414.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.132, allocations: 162.2 kB / 414.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.132, allocations: 25.7 kB / 414.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1321, allocations: 112 kB / 414.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1321, allocations: 43.52 kB / 414.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-06/0.1321, allocations: 0 / 414.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1323, allocations: 326.8 kB / 414.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.1325, allocations: 71.94 kB / 414.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1327, allocations: 104.2 kB / 415 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.1329, allocations: 106 kB / 415.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1329, allocations: 0 / 415.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005295/0.1335, allocations: 247 kB / 415.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.1335, allocations: 41.8 kB / 415.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1335, allocations: 48 / 415.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1336, allocations: 7.984 kB / 415.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1337, allocations: 31.97 kB / 415.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1338, allocations: 11.92 kB / 415.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1339, allocations: 31.83 kB / 415.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1339, allocations: 8 kB / 415.5 MB, free: 8.203 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.0001144/0.1341, allocations: 129.8 kB / 415.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1341, allocations: 11.91 kB / 415.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.1343, allocations: 93.83 kB / 415.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1343, allocations: 4 kB / 415.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1343, allocations: 4.031 kB / 415.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1343, allocations: 4 kB / 415.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.1347, allocations: 437.6 kB / 416.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1347, allocations: 0 / 416.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1349, allocations: 40 kB / 416.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1349, allocations: 64 / 416.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1349, allocations: 15.94 kB / 416.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1349, allocations: 0 / 416.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1349, allocations: 3.938 kB / 416.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.1354, allocations: 393.1 kB / 416.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.1355, allocations: 92.86 kB / 416.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1356, allocations: 11.98 kB / 416.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1358, allocations: 19.98 kB / 416.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.1359, allocations: 27.91 kB / 416.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1359, allocations: 4 kB / 416.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.136, allocations: 124.1 kB / 416.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.136, allocations: 0 / 416.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1363, allocations: 24 kB / 416.9 MB, free: 6.664 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.0001101/0.1364, allocations: 95.25 kB / 417 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.137, allocations: 227.2 kB / 417.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.137, allocations: 4.188 kB / 417.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.1373, allocations: 95.81 kB / 417.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1377, allocations: 27.94 kB / 417.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.1383, allocations: 321.1 kB / 417.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1386, allocations: 0.7121 MB / 418.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.1386, allocations: 20.88 kB / 418.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.1387, allocations: 15.42 kB / 418.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1387, allocations: 0 / 418.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of Templates: time 0.00338/0.1421, allocations: 1.163 MB / 419.6 MB, free: 3.91 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: