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.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001035/0.001035, allocations: 187.9 kB / 16.14 MB, free: 6.66 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.133/0.133, allocations: 4.619 MB / 294.6 MB, free: 3.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 67.89 kB / 356 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 50.51 MB / 406.5 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004525/0.1116, allocations: 3.337 MB / 409.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1131, allocations: 0.7796 MB / 410.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1133, allocations: 11.94 kB / 410.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.1134, allocations: 39.62 kB / 410.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1137, allocations: 103.2 kB / 410.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.114, allocations: 123.9 kB / 410.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.1145, allocations: 474.5 kB / 411.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.1149, allocations: 241.7 kB / 411.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1151, allocations: 163.3 kB / 411.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1153, allocations: 187.2 kB / 411.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.1154, allocations: 28 kB / 411.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.1155, allocations: 32 kB / 411.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.1155, allocations: 75.67 kB / 412 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1157, allocations: 207 kB / 412.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.1162, allocations: 0.5221 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1162, allocations: 0 / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1162, allocations: 0 / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1162, allocations: 4 kB / 412.8 MB, free: 10.08 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.001351/0.1175, allocations: 0.7311 MB / 413.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1176, allocations: 12.03 kB / 413.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/0.1177, allocations: 62.72 kB / 413.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.1178, allocations: 44.47 kB / 413.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1181, allocations: 306.7 kB / 413.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1182, allocations: 62.84 kB / 414 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.1183, allocations: 32.38 kB / 414 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.119, allocations: 396.9 kB / 414.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1191, allocations: 0 / 414.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1191, allocations: 8 kB / 414.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1191, allocations: 8 kB / 414.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.1199, allocations: 330.3 kB / 414.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.122, allocations: 1.514 MB / 416.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/0.123, allocations: 372 kB / 416.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.1234, allocations: 205.6 kB / 416.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1234, allocations: 7.938 kB / 416.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.124, allocations: 244.7 kB / 417 MB, free: 5.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.124, allocations: 0 / 417 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001232/0.1252, allocations: 496.9 kB / 417.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1253, allocations: 81.23 kB / 417.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.1256, allocations: 291 kB / 417.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.1256, allocations: 29.7 kB / 417.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.1258, allocations: 196.2 kB / 418.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.1258, allocations: 94.67 kB / 418.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.126, allocations: 57.61 kB / 418.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1261, allocations: 342.8 kB / 418.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.1265, allocations: 147.9 kB / 418.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.1269, allocations: 200.9 kB / 418.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.1276, allocations: 375.1 kB / 419.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1276, allocations: 4 kB / 419.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009465/0.1286, allocations: 442.8 kB / 419.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.1286, allocations: 37.86 kB / 419.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1286, allocations: 0 / 419.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1287, allocations: 4 kB / 419.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/0.1297, allocations: 215.7 kB / 420 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.1313, allocations: 1.516 MB / 421.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.1317, allocations: 51.91 kB / 421.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.1317, allocations: 15.98 kB / 421.6 MB, free: 0.7344 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.0002191/0.1319, allocations: 176.5 kB / 421.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.132, allocations: 31.62 kB / 421.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/0.1329, allocations: 368.5 kB / 422.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1329, allocations: 7.984 kB / 422.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1329, allocations: 0 / 422.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1329, allocations: 0 / 422.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2034/0.3363, allocations: 449.5 kB / 422.6 MB, free: 48.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3364, allocations: 0.75 kB / 422.6 MB, free: 48.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.3375, allocations: 203.1 kB / 422.8 MB, free: 48.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.3375, allocations: 1.625 kB / 422.8 MB, free: 48.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.3375, allocations: 10.69 kB / 422.8 MB, free: 48.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.3389, allocations: 1.516 MB / 424.3 MB, free: 47.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3389, allocations: 1.125 kB / 424.3 MB, free: 47.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.3401, allocations: 0.5733 MB / 424.9 MB, free: 47.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.3402, allocations: 113.6 kB / 425 MB, free: 47.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3403, allocations: 6.312 kB / 425 MB, free: 47.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.3405, allocations: 32.55 kB / 425 MB, free: 47.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.3406, allocations: 29.75 kB / 425.1 MB, free: 47.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.3406, allocations: 10.12 kB / 425.1 MB, free: 47.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3408, allocations: 205.9 kB / 425.3 MB, free: 46.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3408, allocations: 0 / 425.3 MB, free: 46.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.3412, allocations: 86 kB / 425.4 MB, free: 46.98 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.001279/0.3425, allocations: 1.122 MB / 426.5 MB, free: 46.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.3439, allocations: 0.5203 MB / 427 MB, free: 46.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3439, allocations: 0 / 427 MB, free: 46.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.3448, allocations: 307.3 kB / 427.3 MB, free: 46.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3452, allocations: 44.92 kB / 427.3 MB, free: 46.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.35, allocations: 3.688 MB / 431 MB, free: 44.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3502, allocations: 0.799 MB / 431.8 MB, free: 43.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.3504, allocations: 37.05 kB / 431.9 MB, free: 43.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.3505, allocations: 103.9 kB / 432 MB, free: 43.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3505, allocations: 0 / 432 MB, free: 43.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.419/1.769, allocations: 6.394 MB / 438.4 MB, free: 42.81 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.769, allocations: 223.4 kB / 438.6 MB, free: 42.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/3.768, allocations: 3.172 kB / 438.6 MB, free: 42.55 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)