Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.001272/0.001272, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001495/0.001495, allocations: 218 kB / 22.26 MB, free: 5.082 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.023 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.0249/0.0249, allocations: 4.71 MB / 317.2 MB, free: 14.52 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_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.002013/0.002013, allocations: 59.91 kB / 441.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09725, allocations: 54.5 MB / 495.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004213/0.1015, allocations: 2.926 MB / 498.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1028, allocations: 0.7674 MB / 499.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.1029, allocations: 8 kB / 499.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.1031, allocations: 43.52 kB / 499.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.1033, allocations: 91.12 kB / 499.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1036, allocations: 131.8 kB / 499.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.1041, allocations: 414.5 kB / 0.4884 GB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.1044, allocations: 170.4 kB / 0.4886 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.1047, allocations: 159.5 kB / 0.4887 GB, free: 14.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1049, allocations: 155.4 kB / 0.4889 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.105, allocations: 44 kB / 0.4889 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.1051, allocations: 48 kB / 0.4889 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.1052, allocations: 83.77 kB / 0.489 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.1053, allocations: 175.2 kB / 0.4892 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.1058, allocations: 434.5 kB / 0.4896 GB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1058, allocations: 4 kB / 0.4896 GB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1058, allocations: 3.938 kB / 0.4896 GB, free: 13.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1059, allocations: 0 / 0.4896 GB, free: 13.61 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.001237/0.1071, allocations: 0.5814 MB / 0.4902 GB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1071, allocations: 8.031 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.1072, allocations: 62.72 kB / 0.4902 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.1075, allocations: 52.72 kB / 0.4903 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1078, allocations: 229.9 kB / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.1078, allocations: 16.88 kB / 0.4905 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.1079, allocations: 24.38 kB / 0.4906 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.1086, allocations: 342.8 kB / 0.4909 GB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1086, allocations: 3.938 kB / 0.4909 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.1087, allocations: 8 kB / 0.4909 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1087, allocations: 8 kB / 0.4909 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.1094, allocations: 277.8 kB / 0.4912 GB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.111, allocations: 1.006 MB / 0.4921 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.1117, allocations: 290.5 kB / 0.4924 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.1121, allocations: 148.8 kB / 0.4926 GB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.1121, allocations: 3.938 kB / 0.4926 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004405/0.1126, allocations: 192.6 kB / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.274e-06/0.1126, allocations: 4 kB / 0.4928 GB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001072/0.1136, allocations: 423.8 kB / 0.4932 GB, free: 9.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1137, allocations: 59.39 kB / 0.4932 GB, free: 9.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.1139, allocations: 240.9 kB / 0.4934 GB, free: 9.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.114, allocations: 25.7 kB / 0.4935 GB, free: 9.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1141, allocations: 172.3 kB / 0.4936 GB, free: 9.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.1142, allocations: 75.38 kB / 0.4937 GB, free: 9.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/0.1143, allocations: 53.7 kB / 0.4938 GB, free: 9.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1144, allocations: 330.8 kB / 0.4941 GB, free: 8.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1147, allocations: 123.9 kB / 0.4942 GB, free: 8.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.1151, allocations: 171.3 kB / 0.4944 GB, free: 8.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.1157, allocations: 309.2 kB / 0.4947 GB, free: 8.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1157, allocations: 0 / 0.4947 GB, free: 8.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007967/0.1165, allocations: 390 kB / 0.495 GB, free: 7.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.1166, allocations: 40.05 kB / 0.4951 GB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1166, allocations: 0 / 0.4951 GB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1166, allocations: 4 kB / 0.4951 GB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.1169, allocations: 63.98 kB / 0.4951 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1169, allocations: 4 kB / 0.4951 GB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1171, allocations: 39.8 kB / 0.4952 GB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1172, allocations: 8 kB / 0.4952 GB, free: 7.637 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 (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 (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.0001913/0.1174, allocations: 165.8 kB / 0.4953 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.1174, allocations: 23.8 kB / 0.4954 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.1185, allocations: 339.6 kB / 0.4957 GB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1185, allocations: 4 kB / 0.4957 GB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1185, allocations: 0 / 0.4957 GB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.1185, allocations: 0 / 0.4957 GB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.1189, allocations: 360.4 kB / 0.496 GB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1189, allocations: 0 / 0.496 GB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1192, allocations: 63.89 kB / 0.4961 GB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1192, allocations: 0 / 0.4961 GB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1193, allocations: 4 kB / 0.4961 GB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1193, allocations: 7.938 kB / 0.4961 GB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1193, allocations: 0 / 0.4961 GB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.1203, allocations: 0.4996 MB / 0.4966 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.1204, allocations: 27.72 kB / 0.4966 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.1204, allocations: 8 kB / 0.4966 GB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1206, allocations: 23.97 kB / 0.4966 GB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.1207, allocations: 19.97 kB / 0.4967 GB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.1207, allocations: 11.98 kB / 0.4967 GB, free: 6.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1209, allocations: 168.5 kB / 0.4968 GB, free: 5.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1209, allocations: 4 kB / 0.4968 GB, free: 5.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1212, allocations: 71.89 kB / 0.4969 GB, free: 5.781 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,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 (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.001397/0.1226, allocations: 1.04 MB / 0.4979 GB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007723/0.1234, allocations: 338.1 kB / 0.4982 GB, free: 4.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1234, allocations: 4 kB / 0.4983 GB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.1237, allocations: 144 kB / 0.4984 GB, free: 4.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.124, allocations: 35.17 kB / 0.4984 GB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.1286, allocations: 2.956 MB / 0.5013 GB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.129, allocations: 0.7749 MB / 0.5021 GB, free: 348 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.1292, allocations: 33.61 kB / 0.5021 GB, free: 312 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.1293, allocations: 83.41 kB / 0.5022 GB, free: 228 kB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1293, allocations: 0 / 0.5022 GB, free: 228 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.1628, allocations: 5.835 MB / 0.5079 GB, free: 10.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.46, allocations: 10.81 kB / 0.5079 GB, free: 10.53 MB / 382.1 MB " [Timeout remaining time 648] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs_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_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.344282183003088] Failed to read output from testmodel.py, exit status != 0: 11.567390948999673 11.775139141 11.665956418 Calling exit ...