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: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005677/0.005677, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.31/1.31, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.51/1.51, allocations: 4.62 MB / 296 MB, free: 4.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 15.98 kB / 358.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 51.49 MB / 409.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.002996/0.1076, allocations: 2.963 MB / 412.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1087, allocations: 0.7679 MB / 413.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1088, allocations: 11.94 kB / 413.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.825e-05/0.1089, allocations: 39.69 kB / 413.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1091, allocations: 107.2 kB / 413.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1094, allocations: 119.9 kB / 413.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.1098, allocations: 474.5 kB / 414.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.1101, allocations: 237.7 kB / 414.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1103, allocations: 143.4 kB / 414.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.1105, allocations: 155.2 kB / 414.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.1106, allocations: 16 kB / 414.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.1106, allocations: 24 kB / 414.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1107, allocations: 67.69 kB / 415 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.1109, allocations: 204.7 kB / 415.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.1112, allocations: 0.5063 MB / 415.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1113, allocations: 0 / 415.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1113, allocations: 0 / 415.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1113, allocations: 0 / 415.7 MB, free: 8.703 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.00117/0.1125, allocations: 0.6767 MB / 416.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1125, allocations: 12.03 kB / 416.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.98e-05/0.1126, allocations: 66.72 kB / 416.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.1127, allocations: 44.47 kB / 416.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.113, allocations: 310.6 kB / 416.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.1131, allocations: 58.91 kB / 416.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.1132, allocations: 28.38 kB / 416.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.114, allocations: 412.9 kB / 417.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.114, allocations: 0 / 417.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.114, allocations: 20 kB / 417.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.114, allocations: 12 kB / 417.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/0.1149, allocations: 354.3 kB / 417.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.117, allocations: 1.53 MB / 419.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1181, allocations: 417.3 kB / 419.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.1186, allocations: 221.5 kB / 419.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1186, allocations: 4 kB / 419.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.1192, allocations: 256.9 kB / 420.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.1192, allocations: 0 / 420.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001568/0.1208, allocations: 0.5439 MB / 420.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.1209, allocations: 81.11 kB / 420.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.1213, allocations: 287 kB / 421 MB, free: 3.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.1214, allocations: 29.7 kB / 421 MB, free: 3.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.1216, allocations: 200.2 kB / 421.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.1217, allocations: 86.73 kB / 421.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.1218, allocations: 29.7 kB / 421.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.122, allocations: 342.8 kB / 421.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.1225, allocations: 167.9 kB / 421.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.123, allocations: 224.8 kB / 422 MB, free: 2.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.1239, allocations: 403.2 kB / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1239, allocations: 0 / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001119/0.125, allocations: 494.8 kB / 422.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.1251, allocations: 29.7 kB / 422.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1251, allocations: 4 kB / 422.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1251, allocations: 0 / 422.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.1263, allocations: 279.7 kB / 423.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1651/0.2914, allocations: 1.574 MB / 424.8 MB, free: 44.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.2919, allocations: 64.52 kB / 424.8 MB, free: 44.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.2919, allocations: 9.469 kB / 424.8 MB, free: 44.52 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.0002078/0.2921, allocations: 174.6 kB / 425 MB, free: 44.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.2922, allocations: 29.06 kB / 425 MB, free: 44.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008961/0.2931, allocations: 400.4 kB / 425.4 MB, free: 44.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2931, allocations: 3.781 kB / 425.4 MB, free: 44.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2931, allocations: 0.625 kB / 425.4 MB, free: 44.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2931, allocations: 5.484 kB / 425.4 MB, free: 44.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.2936, allocations: 446.4 kB / 425.9 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2936, allocations: 0.6875 kB / 425.9 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.2947, allocations: 276.6 kB / 426.2 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2947, allocations: 3.719 kB / 426.2 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2947, allocations: 7.156 kB / 426.2 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.2959, allocations: 1.58 MB / 427.7 MB, free: 42.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2959, allocations: 0.5 kB / 427.7 MB, free: 42.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2971, allocations: 0.6239 MB / 428.4 MB, free: 42.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.2971, allocations: 109.1 kB / 428.5 MB, free: 42.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2972, allocations: 9.75 kB / 428.5 MB, free: 42.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.2974, allocations: 48.73 kB / 428.5 MB, free: 42.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.2975, allocations: 27.03 kB / 428.6 MB, free: 42.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2975, allocations: 6.688 kB / 428.6 MB, free: 42.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.2977, allocations: 204.7 kB / 428.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2977, allocations: 0 / 428.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.2981, allocations: 90.17 kB / 428.9 MB, free: 42.55 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.001281/0.2993, allocations: 1.18 MB / 430 MB, free: 41.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.3008, allocations: 0.6065 MB / 430.6 MB, free: 41.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3008, allocations: 0 / 430.6 MB, free: 41.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.3018, allocations: 379.7 kB / 431 MB, free: 41.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3021, allocations: 53.38 kB / 431.1 MB, free: 41.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.3067, allocations: 3.852 MB / 434.9 MB, free: 40.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.3069, allocations: 0.8048 MB / 435.7 MB, free: 39.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.307, allocations: 30.98 kB / 435.8 MB, free: 39.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3072, allocations: 99.94 kB / 435.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3072, allocations: 4 kB / 435.9 MB, free: 39.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.426, allocations: 6.274 MB / 442.1 MB, free: 38.92 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.4262, allocations: 220.4 kB / 442.3 MB, free: 38.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.316, allocations: 3.156 kB / 442.3 MB, free: 38.67 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)