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.001376/0.001376, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 193.8 kB / 16.53 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1355/0.1355, allocations: 4.639 MB / 295 MB, free: 3.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 356.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08945, allocations: 50.5 MB / 407.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003994/0.0935, allocations: 3.204 MB / 410.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.09483, allocations: 0.7718 MB / 411.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.09499, allocations: 4 kB / 411.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.09516, allocations: 67.38 kB / 411.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.0954, allocations: 118.9 kB / 411.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.09574, allocations: 127.8 kB / 411.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.09625, allocations: 0.5103 MB / 412 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.09666, allocations: 282.5 kB / 412.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.09689, allocations: 195.3 kB / 412.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.09712, allocations: 203.2 kB / 412.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.211e-05/0.0972, allocations: 56 kB / 412.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.09728, allocations: 56 kB / 412.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.09738, allocations: 99.73 kB / 412.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.09764, allocations: 227 kB / 413 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.09813, allocations: 0.5455 MB / 413.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.09814, allocations: 0 / 413.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09815, allocations: 0 / 413.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.09817, allocations: 4 kB / 413.6 MB, free: 9.418 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.001322/0.09949, allocations: 0.7272 MB / 414.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.09954, allocations: 8.031 kB / 414.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.803e-05/0.09962, allocations: 70.72 kB / 414.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.0997, allocations: 40.47 kB / 414.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.1001, allocations: 310.6 kB / 414.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1002, allocations: 58.91 kB / 414.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.1003, allocations: 32.38 kB / 414.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.101, allocations: 396.9 kB / 415.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.101, allocations: 3.938 kB / 415.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.1011, allocations: 12 kB / 415.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1011, allocations: 11.94 kB / 415.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.1019, allocations: 322.4 kB / 415.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.1039, allocations: 1.514 MB / 417.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.105, allocations: 381.3 kB / 417.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.1055, allocations: 200.2 kB / 417.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.1055, allocations: 7.984 kB / 417.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.1061, allocations: 248.8 kB / 417.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.534e-06/0.1061, allocations: 0 / 417.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001265/0.1074, allocations: 496.9 kB / 418.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1074, allocations: 85.11 kB / 418.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1077, allocations: 283 kB / 418.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.1078, allocations: 33.83 kB / 418.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1079, allocations: 196.2 kB / 419 MB, free: 3.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.108, allocations: 86.75 kB / 419 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1081, allocations: 61.59 kB / 419.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1082, allocations: 338.8 kB / 419.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.1086, allocations: 151.8 kB / 419.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.109, allocations: 204.9 kB / 419.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007917/0.1098, allocations: 371.1 kB / 420.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1098, allocations: 0 / 420.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009458/0.1108, allocations: 450.8 kB / 420.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.1108, allocations: 29.7 kB / 420.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1109, allocations: 7.984 kB / 420.6 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1109, allocations: 4.156 kB / 420.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.1119, allocations: 211.7 kB / 420.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.142/0.254, allocations: 1.673 MB / 422.5 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.2544, allocations: 50.34 kB / 422.6 MB, free: 47.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.2545, allocations: 13.38 kB / 422.6 MB, free: 47.77 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.0002178/0.2547, allocations: 171.3 kB / 422.7 MB, free: 47.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2548, allocations: 26.06 kB / 422.8 MB, free: 47.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008579/0.2556, allocations: 369.1 kB / 423.1 MB, free: 47.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2556, allocations: 3.359 kB / 423.1 MB, free: 47.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2556, allocations: 1.844 kB / 423.1 MB, free: 47.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2557, allocations: 3.953 kB / 423.1 MB, free: 47.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.2561, allocations: 452.3 kB / 423.6 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2561, allocations: 0.5625 kB / 423.6 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.2572, allocations: 206.9 kB / 423.8 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.2572, allocations: 2.188 kB / 423.8 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2572, allocations: 16.61 kB / 423.8 MB, free: 47.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.2585, allocations: 1.677 MB / 425.5 MB, free: 45.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2585, allocations: 0 / 425.5 MB, free: 45.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2596, allocations: 0.5738 MB / 426 MB, free: 45.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.2596, allocations: 105.1 kB / 426.2 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.2597, allocations: 13.81 kB / 426.2 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.2599, allocations: 25.83 kB / 426.2 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.26, allocations: 31.47 kB / 426.2 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.26, allocations: 8.969 kB / 426.2 MB, free: 45.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.2602, allocations: 202 kB / 426.4 MB, free: 45.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2602, allocations: 3 kB / 426.4 MB, free: 45.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.2606, allocations: 92.06 kB / 426.5 MB, free: 45.65 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.001247/0.2618, allocations: 1.129 MB / 427.6 MB, free: 45.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.2633, allocations: 0.5357 MB / 428.2 MB, free: 44.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2633, allocations: 0 / 428.2 MB, free: 44.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.2643, allocations: 308.9 kB / 428.5 MB, free: 44.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.2646, allocations: 51.69 kB / 428.5 MB, free: 44.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.2693, allocations: 3.56 MB / 432.1 MB, free: 42.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2695, allocations: 0.7893 MB / 432.9 MB, free: 42.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.2697, allocations: 38.67 kB / 432.9 MB, free: 42.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.2699, allocations: 104 kB / 433 MB, free: 42.05 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2699, allocations: 0 / 433 MB, free: 42.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2946, allocations: 6.765 MB / 439.8 MB, free: 41.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.82, allocations: 11.27 kB / 439.8 MB, free: 41.36 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 & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Controlled_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)