Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.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_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",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.001491/0.001492, 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.001179/0.001179, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1416/0.1416, allocations: 4.632 MB / 295 MB, free: 3.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.91 kB / 356.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09914, allocations: 50.51 MB / 407.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003318/0.1025, allocations: 2.209 MB / 409.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.1029, allocations: 151.5 kB / 409.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.103, allocations: 4 kB / 409.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1031, allocations: 31.67 kB / 409.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.35e-05/0.1032, allocations: 51.55 kB / 409.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1034, allocations: 47.95 kB / 409.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1036, allocations: 203.7 kB / 409.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.1039, allocations: 152 kB / 410 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.104, allocations: 67.78 kB / 410.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1041, allocations: 71.7 kB / 410.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1041, allocations: 24 kB / 410.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.419e-05/0.1042, allocations: 20 kB / 410.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.1042, allocations: 43.78 kB / 410.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.1043, allocations: 87.67 kB / 410.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1045, allocations: 211.6 kB / 410.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1045, allocations: 0 / 410.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1045, allocations: 4 kB / 410.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1046, allocations: 0 / 410.5 MB, free: 12.49 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000614/0.1052, allocations: 454.9 kB / 411 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1052, allocations: 8.031 kB / 411 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.1053, allocations: 50.73 kB / 411 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1053, allocations: 16.75 kB / 411 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1055, allocations: 216.1 kB / 411.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1055, allocations: 12.38 kB / 411.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1056, allocations: 20.36 kB / 411.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1058, allocations: 181 kB / 411.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1059, allocations: 7.875 kB / 411.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1059, allocations: 4 kB / 411.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1059, allocations: 4 kB / 411.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.1061, allocations: 96.8 kB / 411.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.1069, allocations: 0.7636 MB / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.007e-05/0.107, allocations: 54.52 kB / 412.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.563e-05/0.107, allocations: 40.97 kB / 412.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1071, allocations: 0 / 412.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1071, allocations: 30.56 kB / 412.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.1071, allocations: 0 / 412.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000216/0.1073, allocations: 97.5 kB / 412.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1074, allocations: 63.41 kB / 412.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1075, allocations: 174 kB / 412.8 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.1075, allocations: 29.64 kB / 412.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.1076, allocations: 131.6 kB / 412.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1076, allocations: 23.64 kB / 413 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.1077, allocations: 29.72 kB / 413 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.1078, allocations: 322.8 kB / 413.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.1078, allocations: 31.92 kB / 413.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.1079, allocations: 86.55 kB / 413.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1081, allocations: 122.7 kB / 413.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1081, allocations: 0 / 413.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001864/0.1083, allocations: 133.5 kB / 413.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1083, allocations: 8.219 kB / 413.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1083, allocations: 4 kB / 413.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1083, allocations: 4.25 kB / 413.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1085, allocations: 27.92 kB / 413.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.1085, allocations: 8 kB / 413.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.1086, allocations: 19.78 kB / 413.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1086, allocations: 4 kB / 413.7 MB, free: 8.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1087, allocations: 133.8 kB / 413.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.1087, allocations: 15.8 kB / 413.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.1088, allocations: 24.7 kB / 413.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1088, allocations: 0 / 413.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1088, allocations: 0 / 413.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1088, allocations: 3.938 kB / 413.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.1091, allocations: 237.5 kB / 414.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1092, allocations: 0 / 414.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.1093, allocations: 12 kB / 414.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1093, allocations: 3.984 kB / 414.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1093, allocations: 4 kB / 414.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1093, allocations: 0 / 414.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1093, allocations: 0 / 414.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1096, allocations: 211.3 kB / 414.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1096, allocations: 88.95 kB / 414.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1097, allocations: 3.984 kB / 414.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.1097, allocations: 8 kB / 414.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.1098, allocations: 3.938 kB / 414.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1098, allocations: 0 / 414.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1099, allocations: 127.2 kB / 414.6 MB, free: 8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1099, allocations: 4.062 kB / 414.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1102, allocations: 24 kB / 414.6 MB, free: 7.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000475/0.1107, allocations: 0.7401 MB / 415.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1109, allocations: 72.3 kB / 415.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1109, allocations: 8.062 kB / 415.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.1109, allocations: 28.05 kB / 415.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.1112, allocations: 31.94 kB / 415.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1133, allocations: 1.844 MB / 417.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1136, allocations: 0.7162 MB / 418.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.124e-05/0.1137, allocations: 12.64 kB / 418.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1138, allocations: 39.42 kB / 418.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1138, allocations: 0 / 418.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.1354, allocations: 2.726 MB / 420.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/7.259, allocations: 3.875 kB / 420.8 MB, free: 1.645 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Design_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_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1)