Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 215 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0256/0.0256, allocations: 4.713 MB / 317.1 MB, free: 14.61 MB / 254.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: FastBuildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.89 kB / 441.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09806, allocations: 54.51 MB / 495.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004381/0.1024, allocations: 2.918 MB / 498.7 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1038, allocations: 0.7557 MB / 499.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.104, allocations: 4 kB / 499.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1041, allocations: 43.52 kB / 499.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1043, allocations: 95.19 kB / 499.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1047, allocations: 119.8 kB / 499.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.1052, allocations: 398.4 kB / 0.4884 GB, free: 14.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.1055, allocations: 140.8 kB / 0.4885 GB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1058, allocations: 151.5 kB / 0.4886 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.106, allocations: 155.4 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.1061, allocations: 40 kB / 0.4888 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.075e-05/0.1061, allocations: 44 kB / 0.4889 GB, free: 14.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.1062, allocations: 75.77 kB / 0.4889 GB, free: 14.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.1064, allocations: 167.3 kB / 0.4891 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.1069, allocations: 406.5 kB / 0.4895 GB, free: 13.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1069, allocations: 3.984 kB / 0.4895 GB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1069, allocations: 3.938 kB / 0.4895 GB, free: 13.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1069, allocations: 0 / 0.4895 GB, free: 13.78 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001227/0.1082, allocations: 0.5732 MB / 0.49 GB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1082, allocations: 12.03 kB / 0.4901 GB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.111e-05/0.1083, allocations: 62.66 kB / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.1085, allocations: 48.73 kB / 0.4902 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1089, allocations: 221.9 kB / 0.4904 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.1089, allocations: 16.88 kB / 0.4904 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.1089, allocations: 28.38 kB / 0.4904 GB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.1096, allocations: 310.8 kB / 0.4907 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1096, allocations: 0 / 0.4907 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.1096, allocations: 8 kB / 0.4907 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1096, allocations: 8 kB / 0.4907 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.1103, allocations: 249.8 kB / 0.491 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.1118, allocations: 0.9629 MB / 0.4919 GB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.1126, allocations: 266.7 kB / 0.4922 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.1129, allocations: 140.7 kB / 0.4923 GB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.1129, allocations: 7.875 kB / 0.4923 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.1133, allocations: 177 kB / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1133, allocations: 0 / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009851/0.1143, allocations: 376 kB / 0.4928 GB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.1144, allocations: 59.41 kB / 0.4929 GB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1146, allocations: 228.9 kB / 0.4931 GB, free: 9.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1147, allocations: 25.7 kB / 0.4931 GB, free: 9.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1148, allocations: 184.3 kB / 0.4933 GB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.1149, allocations: 79.31 kB / 0.4934 GB, free: 9.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.115, allocations: 45.7 kB / 0.4934 GB, free: 9.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1151, allocations: 338.8 kB / 0.4938 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1154, allocations: 99.94 kB / 0.4938 GB, free: 9.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.1158, allocations: 155.3 kB / 0.494 GB, free: 8.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.1164, allocations: 285.9 kB / 0.4943 GB, free: 8.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1164, allocations: 0 / 0.4943 GB, free: 8.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007908/0.1172, allocations: 362 kB / 0.4946 GB, free: 8.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.1172, allocations: 33.69 kB / 0.4946 GB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1172, allocations: 4 kB / 0.4946 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1172, allocations: 96 / 0.4946 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.1176, allocations: 67.89 kB / 0.4947 GB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1176, allocations: 4 kB / 0.4947 GB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1178, allocations: 27.88 kB / 0.4947 GB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1178, allocations: 15.98 kB / 0.4948 GB, free: 8.105 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001624/0.118, allocations: 145.8 kB / 0.4949 GB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.118, allocations: 27.8 kB / 0.4949 GB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.1188, allocations: 307.7 kB / 0.4952 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1188, allocations: 3.938 kB / 0.4952 GB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1188, allocations: 4 kB / 0.4952 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1188, allocations: 3.938 kB / 0.4952 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.1192, allocations: 340.4 kB / 0.4956 GB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1192, allocations: 0 / 0.4956 GB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.1195, allocations: 63.89 kB / 0.4956 GB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1195, allocations: 4 kB / 0.4956 GB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.1195, allocations: 3.984 kB / 0.4956 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1195, allocations: 3.938 kB / 0.4956 GB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1195, allocations: 0 / 0.4956 GB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.1205, allocations: 459.4 kB / 0.4961 GB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1206, allocations: 35.75 kB / 0.4961 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.1206, allocations: 8 kB / 0.4961 GB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1208, allocations: 15.97 kB / 0.4961 GB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.1209, allocations: 23.97 kB / 0.4961 GB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1209, allocations: 8 kB / 0.4962 GB, free: 6.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.121, allocations: 168.5 kB / 0.4963 GB, free: 6.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.121, allocations: 0 / 0.4963 GB, free: 6.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1213, allocations: 63.89 kB / 0.4964 GB, free: 6.371 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001299/0.1226, allocations: 0.9892 MB / 0.4973 GB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007041/0.1233, allocations: 299.2 kB / 0.4976 GB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1233, allocations: 256 / 0.4976 GB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.1237, allocations: 138.6 kB / 0.4978 GB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.124, allocations: 46.95 kB / 0.4978 GB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.1284, allocations: 2.815 MB / 0.5006 GB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.1288, allocations: 0.7671 MB / 0.5013 GB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.129, allocations: 29.62 kB / 0.5013 GB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.1292, allocations: 79.41 kB / 0.5014 GB, free: 1.059 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1292, allocations: 0 / 0.5014 GB, free: 1.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.1643, allocations: 5.573 MB / 0.5068 GB, free: 11.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.3, allocations: 8.469 kB / 0.5069 GB, free: 11.62 MB / 382.1 MB " [Timeout remaining time 649] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined_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_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.163579380001465] Failed to read output from testmodel.py, exit status != 0: 11.409398615003738 11.667831785 11.557013975 Calling exit ...