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.001502/0.001502, allocations: 108.5 kB / 16.41 MB, free: 6.008 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.001759/0.001759, allocations: 188.9 kB / 17.34 MB, free: 5.629 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02304/0.02304, allocations: 4.649 MB / 295.8 MB, free: 10.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.88 kB / 409 MB, free: 27.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.0916, allocations: 50.51 MB / 459.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004897/0.09654, allocations: 3.187 MB / 462.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.09818, allocations: 0.7795 MB / 463.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.0985, allocations: 11.94 kB / 463.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.09876, allocations: 55.44 kB / 463.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.09921, allocations: 126.9 kB / 463.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.09967, allocations: 127.8 kB / 463.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.1004, allocations: 0.5141 MB / 464.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.1008, allocations: 270.5 kB / 464.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.1011, allocations: 195.3 kB / 464.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1014, allocations: 195.2 kB / 464.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/0.1015, allocations: 56 kB / 465 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.1016, allocations: 60 kB / 465 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.1017, allocations: 107.7 kB / 465.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1019, allocations: 223.1 kB / 465.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.1025, allocations: 0.5491 MB / 465.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1025, allocations: 0 / 465.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1025, allocations: 0 / 465.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1025, allocations: 0 / 465.9 MB, free: 2.078 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.001433/0.104, allocations: 0.7273 MB / 466.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.104, allocations: 11.89 kB / 466.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.124e-05/0.1041, allocations: 44.47 kB / 466.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.1045, allocations: 318.5 kB / 467 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.1047, allocations: 62.91 kB / 467.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.1047, allocations: 36.31 kB / 467.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.1056, allocations: 393.1 kB / 467.5 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1056, allocations: 3.938 kB / 467.5 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.1057, allocations: 12 kB / 467.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1057, allocations: 8 kB / 467.5 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.1066, allocations: 326.4 kB / 467.8 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.1088, allocations: 1.507 MB / 469.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1099, allocations: 381.3 kB / 469.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.1104, allocations: 197.5 kB / 469.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1104, allocations: 4 kB / 469.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/0.111, allocations: 244.9 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.111, allocations: 0 / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00134/0.1123, allocations: 496.8 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.1124, allocations: 89.05 kB / 470.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1128, allocations: 283 kB / 471 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.1128, allocations: 33.7 kB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.113, allocations: 192.2 kB / 471.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.113, allocations: 94.86 kB / 471.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1132, allocations: 57.69 kB / 471.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1133, allocations: 338.8 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.1137, allocations: 151.8 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.1142, allocations: 197 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.115, allocations: 371.4 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1151, allocations: 0 / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000994/0.1161, allocations: 458.7 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.1161, allocations: 35.72 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.1161, allocations: 4 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1162, allocations: 4 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.1173, allocations: 211.8 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.1192, allocations: 1.683 MB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.1195, allocations: 47.84 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1196, allocations: 12 kB / 474.8 MB, free: 8.633 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.0002117/0.1198, allocations: 173.7 kB / 475 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.1198, allocations: 31.61 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/0.1208, allocations: 372.4 kB / 475.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1208, allocations: 3.984 kB / 475.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1208, allocations: 4 kB / 475.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1209, allocations: 0 / 475.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.1214, allocations: 453.1 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1214, allocations: 0 / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.1225, allocations: 207.7 kB / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1225, allocations: 0 / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1225, allocations: 11.98 kB / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.1242, allocations: 1.671 MB / 477.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1242, allocations: 0 / 477.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.1255, allocations: 0.5835 MB / 478.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.1256, allocations: 112.7 kB / 478.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.1257, allocations: 8 kB / 478.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.1259, allocations: 23.97 kB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1261, allocations: 27.95 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1261, allocations: 12 kB / 478.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.1263, allocations: 201.9 kB / 478.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1263, allocations: 4 kB / 478.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.1268, allocations: 83.84 kB / 478.8 MB, free: 4.449 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.0001207/0.1269, allocations: 119.2 kB / 478.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.1286, allocations: 0.5146 MB / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1286, allocations: 0 / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.1297, allocations: 303.8 kB / 479.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1301, allocations: 44.81 kB / 479.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1321, allocations: 0.8834 MB / 480.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1324, allocations: 0.7947 MB / 481.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1326, allocations: 23.44 kB / 481.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1326, allocations: 0 / 481.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of Templates: time 0.008281/0.1409, allocations: 5.957 MB / 487.4 MB, free: 11.73 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)