Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.001304/0.001304, 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.001482/0.001482, allocations: 214.8 kB / 22.25 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.027 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.02497/0.02497, allocations: 4.706 MB / 317.1 MB, free: 14.55 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.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.002179/0.002179, allocations: 75.88 kB / 441.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 54.5 MB / 495.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.00333/0.1183, allocations: 1.747 MB / 497.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1195, allocations: 0.5571 MB / 498 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1196, allocations: 8 kB / 498 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1197, allocations: 15.8 kB / 498.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.678e-05/0.1198, allocations: 19.8 kB / 498.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1201, allocations: 59.86 kB / 498.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1204, allocations: 127.6 kB / 498.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1205, allocations: 37.22 kB / 498.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1207, allocations: 63.72 kB / 498.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1208, allocations: 67.69 kB / 498.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1209, allocations: 12 kB / 498.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-05/0.1209, allocations: 8 kB / 498.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.1209, allocations: 23.91 kB / 498.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.121, allocations: 55.67 kB / 498.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1212, allocations: 119.5 kB / 498.6 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1212, allocations: 0 / 498.6 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1212, allocations: 0 / 498.6 MB, free: 388 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1212, allocations: 0 / 498.6 MB, free: 388 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008612/0.1221, allocations: 403.4 kB / 499 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1222, allocations: 8.031 kB / 499 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.64e-05/0.1222, allocations: 50.67 kB / 499.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.1225, allocations: 36.83 kB / 499.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1227, allocations: 156.5 kB / 499.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1228, allocations: 8.375 kB / 499.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1228, allocations: 12.38 kB / 499.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.1232, allocations: 193.9 kB / 499.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1232, allocations: 0 / 499.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1232, allocations: 4 kB / 499.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1233, allocations: 4 kB / 499.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.1237, allocations: 135.8 kB / 499.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.1247, allocations: 0.7229 MB / 0.4886 GB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.1251, allocations: 185 kB / 0.4888 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.1254, allocations: 92.3 kB / 0.4889 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1254, allocations: 7.938 kB / 0.4889 GB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/0.1257, allocations: 159.5 kB / 0.489 GB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1257, allocations: 4 kB / 0.489 GB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007784/0.1265, allocations: 253.3 kB / 0.4893 GB, free: 13.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.1266, allocations: 162.5 kB / 0.4894 GB, free: 13.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1268, allocations: 178.3 kB / 0.4896 GB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1268, allocations: 25.7 kB / 0.4896 GB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.1269, allocations: 124 kB / 0.4898 GB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.127, allocations: 35.7 kB / 0.4898 GB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.127, allocations: 29.7 kB / 0.4898 GB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1272, allocations: 326.8 kB / 0.4901 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1274, allocations: 63.94 kB / 0.4902 GB, free: 12.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.1277, allocations: 100.2 kB / 0.4903 GB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.1281, allocations: 177.8 kB / 0.4905 GB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1281, allocations: 0 / 0.4905 GB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005585/0.1287, allocations: 243.1 kB / 0.4907 GB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.1287, allocations: 29.7 kB / 0.4907 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1287, allocations: 4 kB / 0.4907 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1288, allocations: 0 / 0.4907 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1289, allocations: 27.97 kB / 0.4907 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1289, allocations: 11.92 kB / 0.4908 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1291, allocations: 23.92 kB / 0.4908 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1291, allocations: 4 kB / 0.4908 GB, free: 12.08 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.0001395/0.1292, allocations: 133.8 kB / 0.4909 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1293, allocations: 15.84 kB / 0.4909 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.1295, allocations: 94.61 kB / 0.491 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1295, allocations: 4 kB / 0.491 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1295, allocations: 0 / 0.491 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1295, allocations: 4 kB / 0.491 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.13, allocations: 424.7 kB / 0.4914 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.13, allocations: 0 / 0.4914 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1301, allocations: 27.97 kB / 0.4915 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1301, allocations: 0 / 0.4915 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1301, allocations: 4 kB / 0.4915 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1301, allocations: 0 / 0.4915 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.1301, allocations: 7.938 kB / 0.4915 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.1307, allocations: 369.2 kB / 0.4918 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.1308, allocations: 15.91 kB / 0.4918 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1308, allocations: 8 kB / 0.4918 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.131, allocations: 23.97 kB / 0.4919 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.1311, allocations: 19.91 kB / 0.4919 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1311, allocations: 4 kB / 0.4919 GB, free: 10.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1312, allocations: 139.1 kB / 0.492 GB, free: 10.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1312, allocations: 0 / 0.492 GB, free: 10.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1315, allocations: 35.89 kB / 0.4921 GB, free: 10.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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.001145/0.1327, allocations: 0.9838 MB / 0.493 GB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005265/0.1332, allocations: 199.4 kB / 0.4932 GB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1332, allocations: 4 kB / 0.4932 GB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1335, allocations: 83.86 kB / 0.4933 GB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.1339, allocations: 19.98 kB / 0.4933 GB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.1371, allocations: 2.184 MB / 0.4954 GB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.1375, allocations: 0.7234 MB / 0.4962 GB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.1376, allocations: 20.48 kB / 0.4962 GB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.073e-05/0.1376, allocations: 43.41 kB / 0.4962 GB, free: 6.207 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1376, allocations: 0 / 0.4962 GB, free: 6.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.1689, allocations: 3.315 MB / 0.4994 GB, free: 3.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.2, allocations: 6.875 kB / 0.4995 GB, free: 3.027 MB / 366.1 MB " [Timeout remaining time 649] (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.938695936005388] Failed to read output from testmodel.py, exit status != 0: 11.304154873003426 11.320437016 11.196148486 Calling exit ...