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.007821/0.007827, allocations: 94.3 kB / 15.73 MB, free: 6.484 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.001938/0.001939, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1549/0.1549, allocations: 4.635 MB / 295.2 MB, free: 3.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 408.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3117, allocations: 50.5 MB / 458.8 MB, free: 20.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004066/0.3159, allocations: 3.197 MB / 462 MB, free: 17.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3172, allocations: 0.7769 MB / 462.8 MB, free: 17.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3174, allocations: 13.03 kB / 462.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.3176, allocations: 50.52 kB / 462.8 MB, free: 17.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.3178, allocations: 127.6 kB / 462.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.3182, allocations: 137.2 kB / 463.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.3187, allocations: 0.5072 MB / 463.6 MB, free: 16.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.3191, allocations: 273.9 kB / 463.9 MB, free: 16.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.3194, allocations: 192.3 kB / 464 MB, free: 16.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.3196, allocations: 205.8 kB / 464.2 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.3197, allocations: 54.5 kB / 464.3 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.3197, allocations: 55.84 kB / 464.3 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.3198, allocations: 99.61 kB / 464.4 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.32, allocations: 237.2 kB / 464.7 MB, free: 16.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006399/0.3207, allocations: 0.5518 MB / 465.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3207, allocations: 2.203 kB / 465.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3207, allocations: 0 / 465.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3207, allocations: 0 / 465.2 MB, free: 16.05 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001367/0.3221, allocations: 0.741 MB / 466 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3221, allocations: 8.656 kB / 466 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3222, allocations: 42.52 kB / 466 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.3226, allocations: 320.9 kB / 466.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.3227, allocations: 60 kB / 466.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.3228, allocations: 28.91 kB / 466.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.3236, allocations: 403.2 kB / 466.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3237, allocations: 0 / 466.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.3237, allocations: 11.31 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3237, allocations: 7.156 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.3246, allocations: 324.8 kB / 467.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.3272, allocations: 1.502 MB / 468.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.3283, allocations: 376.1 kB / 469 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.3287, allocations: 202.4 kB / 469.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3288, allocations: 2.938 kB / 469.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/0.3293, allocations: 246.2 kB / 469.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.562e-06/0.3293, allocations: 0 / 469.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001222/0.3305, allocations: 499.1 kB / 469.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3306, allocations: 80.52 kB / 470 MB, free: 13.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.3309, allocations: 294.2 kB / 470.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.3309, allocations: 31.88 kB / 470.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3311, allocations: 200.2 kB / 470.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.3312, allocations: 90.22 kB / 470.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3313, allocations: 56.06 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.3314, allocations: 340.5 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.3318, allocations: 156.6 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.3323, allocations: 204 kB / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.333, allocations: 378.9 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.333, allocations: 2 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009657/0.334, allocations: 451 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.3341, allocations: 36.17 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3341, allocations: 1.375 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3341, allocations: 6.688 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3352, allocations: 212.3 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.3368, allocations: 1.686 MB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.3371, allocations: 43.03 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.3372, allocations: 14.56 kB / 474.2 MB, free: 10.05 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.0002546/0.3374, allocations: 181.5 kB / 474.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.3375, allocations: 28.88 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009489/0.3384, allocations: 366.3 kB / 474.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3385, allocations: 3.781 kB / 474.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.3385, allocations: 0 / 474.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.3385, allocations: 7.828 kB / 474.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.339, allocations: 452.6 kB / 475.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.339, allocations: 0 / 475.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.34, allocations: 205.2 kB / 475.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3401, allocations: 2 kB / 475.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.3401, allocations: 7.828 kB / 475.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.3413, allocations: 1.681 MB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3413, allocations: 1.906 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.3426, allocations: 0.5771 MB / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3426, allocations: 110.7 kB / 477.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.3427, allocations: 8.062 kB / 477.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3429, allocations: 29.44 kB / 477.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.343, allocations: 32.55 kB / 477.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.3431, allocations: 7.266 kB / 477.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.3433, allocations: 205.3 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3433, allocations: 1.406 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.3437, allocations: 92.83 kB / 478.1 MB, free: 7.234 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 9.444e-05/0.3438, allocations: 105.2 kB / 478.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3453, allocations: 0.5247 MB / 478.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3453, allocations: 1.781 kB / 478.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.3463, allocations: 301.2 kB / 479.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3467, allocations: 54.95 kB / 479.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3486, allocations: 0.8807 MB / 480 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3489, allocations: 0.7913 MB / 480.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.349, allocations: 34.86 kB / 480.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.3491, allocations: 26.75 kB / 480.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3491, allocations: 0 / 480.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of Templates: time 0.007315/0.3564, allocations: 3.613 MB / 484.5 MB, free: 4.371 MB / 350.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)