Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007844/0.007844, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00208/0.00208, allocations: 189.2 kB / 16.67 MB, free: 5.93 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02156/0.02156, allocations: 4.643 MB / 295.2 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 408.3 MB, free: 27.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.0995, allocations: 50.5 MB / 458.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003954/0.1035, allocations: 3.195 MB / 462 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1046, allocations: 0.7834 MB / 462.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1048, allocations: 8 kB / 462.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.105, allocations: 59.38 kB / 462.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1052, allocations: 126.9 kB / 463 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1055, allocations: 127.8 kB / 463.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.106, allocations: 0.5103 MB / 463.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.1064, allocations: 278.5 kB / 463.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.1066, allocations: 191.4 kB / 464.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.1068, allocations: 195.2 kB / 464.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.231e-05/0.1069, allocations: 56 kB / 464.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.107, allocations: 60 kB / 464.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.1071, allocations: 103.6 kB / 464.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1073, allocations: 227.1 kB / 464.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.1078, allocations: 0.5452 MB / 465.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1078, allocations: 4 kB / 465.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1078, allocations: 4 kB / 465.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1078, allocations: 3.938 kB / 465.2 MB, free: 2.043 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001284/0.1091, allocations: 0.7234 MB / 466 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1091, allocations: 12.03 kB / 466 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.1092, allocations: 44.45 kB / 466 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1096, allocations: 318.5 kB / 466.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-05/0.1097, allocations: 54.91 kB / 466.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.1098, allocations: 32.38 kB / 466.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.1105, allocations: 401.1 kB / 466.8 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1105, allocations: 4 kB / 466.8 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.1106, allocations: 15.94 kB / 466.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1106, allocations: 8 kB / 466.8 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.1114, allocations: 330.3 kB / 467.2 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.1134, allocations: 1.499 MB / 468.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.1143, allocations: 373.3 kB / 469 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.1147, allocations: 201.6 kB / 469.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1148, allocations: 0 / 469.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/0.1153, allocations: 244.8 kB / 469.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.1153, allocations: 0 / 469.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001233/0.1165, allocations: 0.4891 MB / 469.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1166, allocations: 89.23 kB / 470 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.1169, allocations: 287 kB / 470.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1169, allocations: 29.7 kB / 470.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.117, allocations: 196.2 kB / 470.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.1171, allocations: 86.73 kB / 470.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1172, allocations: 57.7 kB / 470.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1173, allocations: 334.8 kB / 471 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.1177, allocations: 155.9 kB / 471.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.1181, allocations: 200.8 kB / 471.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.1189, allocations: 371.4 kB / 471.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1189, allocations: 0 / 471.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009388/0.1198, allocations: 458.7 kB / 472.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.1199, allocations: 37.86 kB / 472.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1199, allocations: 0 / 472.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1199, allocations: 4 kB / 472.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.1208, allocations: 211.7 kB / 472.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.1224, allocations: 1.683 MB / 474.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.1227, allocations: 43.78 kB / 474.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.1227, allocations: 11.98 kB / 474.1 MB, free: 8.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.1229, allocations: 177.6 kB / 474.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.123, allocations: 35.56 kB / 474.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008455/0.1238, allocations: 372.5 kB / 474.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1238, allocations: 4 kB / 474.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1238, allocations: 4 kB / 474.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1238, allocations: 0 / 474.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1243, allocations: 461.1 kB / 475.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1243, allocations: 4 kB / 475.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.1253, allocations: 199.7 kB / 475.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1253, allocations: 4 kB / 475.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.1253, allocations: 4 kB / 475.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.1267, allocations: 1.668 MB / 477 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1268, allocations: 0 / 477 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.128, allocations: 0.5873 MB / 477.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.1281, allocations: 108.7 kB / 477.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.1281, allocations: 8.031 kB / 477.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.1283, allocations: 27.97 kB / 477.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.1284, allocations: 27.97 kB / 477.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.1285, allocations: 8 kB / 477.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.1287, allocations: 209.9 kB / 478 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1287, allocations: 0 / 478 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1291, allocations: 79.84 kB / 478.1 MB, free: 4.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001278/0.1293, allocations: 115.2 kB / 478.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.1307, allocations: 0.5224 MB / 478.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1307, allocations: 0 / 478.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.1317, allocations: 303.9 kB / 479 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.132, allocations: 59.23 kB / 479.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1339, allocations: 0.8622 MB / 479.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1342, allocations: 0.7947 MB / 480.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.1344, allocations: 34.27 kB / 480.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.1345, allocations: 31.42 kB / 480.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1345, allocations: 0 / 480.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Templates: time 0.007404/0.1419, allocations: 3.612 MB / 484.4 MB, free: 14.04 MB / 366.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)