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.001362/0.001362, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001576/0.001576, allocations: 215.1 kB / 22.25 MB, free: 5.117 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.02 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.02532/0.02532, allocations: 4.714 MB / 317.1 MB, free: 14.54 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.002033/0.002033, allocations: 67.89 kB / 441.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 54.49 MB / 495.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003566/0.1078, allocations: 1.728 MB / 497.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.109, allocations: 0.5649 MB / 498 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1091, allocations: 0 / 498 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1093, allocations: 19.8 kB / 498 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1094, allocations: 23.8 kB / 498.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1097, allocations: 63.8 kB / 498.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1099, allocations: 123.6 kB / 498.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1101, allocations: 37.19 kB / 498.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1103, allocations: 67.77 kB / 498.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1104, allocations: 59.69 kB / 498.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.1104, allocations: 11.94 kB / 498.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.1105, allocations: 12 kB / 498.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.1105, allocations: 27.91 kB / 498.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1106, allocations: 55.67 kB / 498.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1108, allocations: 111.5 kB / 498.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1108, allocations: 0 / 498.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1108, allocations: 0 / 498.6 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1109, allocations: 0 / 498.6 MB, free: 380 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.0009337/0.1118, allocations: 403.3 kB / 499 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1118, allocations: 8.031 kB / 499 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.503e-05/0.1119, allocations: 58.67 kB / 499.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.1122, allocations: 36.83 kB / 499.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1125, allocations: 160.4 kB / 499.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1125, allocations: 8.375 kB / 499.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.1125, allocations: 12.38 kB / 499.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.113, allocations: 193.9 kB / 499.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.113, allocations: 0 / 499.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.113, allocations: 4 kB / 499.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.113, allocations: 4 kB / 499.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.1134, allocations: 135.8 kB / 499.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1144, allocations: 0.7228 MB / 0.4886 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.1149, allocations: 181 kB / 0.4888 GB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.1152, allocations: 92.23 kB / 0.4889 GB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1152, allocations: 4 kB / 0.4889 GB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.1155, allocations: 163.6 kB / 0.489 GB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.1155, allocations: 0 / 0.489 GB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000788/0.1163, allocations: 249.5 kB / 0.4893 GB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1164, allocations: 170.1 kB / 0.4894 GB, free: 13.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1166, allocations: 170.3 kB / 0.4896 GB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1166, allocations: 33.7 kB / 0.4896 GB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.1167, allocations: 124 kB / 0.4898 GB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.1168, allocations: 35.89 kB / 0.4898 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.1168, allocations: 29.7 kB / 0.4898 GB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.117, allocations: 322.8 kB / 0.4901 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1172, allocations: 63.94 kB / 0.4902 GB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.1174, allocations: 96.22 kB / 0.4903 GB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.1179, allocations: 186.1 kB / 0.4905 GB, free: 12.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1179, allocations: 0 / 0.4905 GB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005638/0.1184, allocations: 235 kB / 0.4907 GB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.1185, allocations: 37.69 kB / 0.4907 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1185, allocations: 3.984 kB / 0.4907 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1185, allocations: 4 kB / 0.4907 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1187, allocations: 36.06 kB / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1187, allocations: 0 / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.1188, allocations: 15.98 kB / 0.4908 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1189, allocations: 8 kB / 0.4908 GB, free: 12.07 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.0001255/0.119, allocations: 133.7 kB / 0.4909 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.119, allocations: 23.83 kB / 0.4909 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.1192, allocations: 90.69 kB / 0.491 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1192, allocations: 0 / 0.491 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1192, allocations: 4 kB / 0.491 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1192, allocations: 7.922 kB / 0.491 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.1197, allocations: 416.7 kB / 0.4914 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1197, allocations: 0 / 0.4914 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1199, allocations: 32.03 kB / 0.4915 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1199, allocations: 4 kB / 0.4915 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1199, allocations: 4 kB / 0.4915 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1199, allocations: 4 kB / 0.4915 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1199, allocations: 0 / 0.4915 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.1205, allocations: 373.1 kB / 0.4918 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.1205, allocations: 15.91 kB / 0.4918 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1206, allocations: 11.98 kB / 0.4919 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1208, allocations: 11.98 kB / 0.4919 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.1208, allocations: 24.03 kB / 0.4919 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1208, allocations: 8 kB / 0.4919 GB, free: 10.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.121, allocations: 139.2 kB / 0.492 GB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.121, allocations: 0 / 0.492 GB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.1213, allocations: 31.89 kB / 0.4921 GB, free: 10.66 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.001214/0.1225, allocations: 0.9874 MB / 0.493 GB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.1231, allocations: 199.2 kB / 0.4932 GB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1231, allocations: 0 / 0.4932 GB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.1233, allocations: 84.17 kB / 0.4933 GB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1237, allocations: 15.98 kB / 0.4933 GB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.127, allocations: 2.202 MB / 0.4955 GB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.1273, allocations: 0.7234 MB / 0.4962 GB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.963e-05/0.1274, allocations: 16.47 kB / 0.4962 GB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/0.1275, allocations: 43.42 kB / 0.4962 GB, free: 6.184 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1275, allocations: 0 / 0.4962 GB, free: 6.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.1567, allocations: 3.309 MB / 0.4995 GB, free: 3.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.1, allocations: 3.094 kB / 0.4995 GB, free: 3.008 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.734865103149787] Failed to read output from testmodel.py, exit status != 0: 11.216324256034568 11.234442793 11.12023484 Calling exit ...