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.001539/0.001539, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001562/0.001562, allocations: 214.1 kB / 22.24 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.793 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.02481/0.02481, allocations: 4.718 MB / 317.2 MB, free: 14.31 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.002197/0.002197, allocations: 67.89 kB / 441.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.1003, allocations: 54.5 MB / 495.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002967/0.1033, allocations: 1.681 MB / 497.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.1042, allocations: 0.5182 MB / 497.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.1043, allocations: 0 / 497.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1044, allocations: 15.8 kB / 497.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.1045, allocations: 31.78 kB / 497.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1048, allocations: 59.86 kB / 498 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.105, allocations: 123.6 kB / 498.1 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1051, allocations: 37.23 kB / 498.1 MB, free: 292 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1053, allocations: 63.77 kB / 498.2 MB, free: 228 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1054, allocations: 55.7 kB / 498.2 MB, free: 172 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1055, allocations: 12 kB / 498.2 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.1055, allocations: 15.98 kB / 498.3 MB, free: 144 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.1056, allocations: 23.86 kB / 498.3 MB, free: 120 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.1056, allocations: 43.8 kB / 498.3 MB, free: 76 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1058, allocations: 119.5 kB / 498.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1058, allocations: 0 / 498.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1058, allocations: 0 / 498.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1059, allocations: 0 / 498.4 MB, free: 15.96 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008393/0.1067, allocations: 399.4 kB / 498.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1067, allocations: 8.031 kB / 498.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.816e-05/0.1068, allocations: 58.67 kB / 498.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.107, allocations: 32.77 kB / 498.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1073, allocations: 164.5 kB / 499.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1073, allocations: 12.36 kB / 499.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1073, allocations: 8.375 kB / 499.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.1078, allocations: 195.6 kB / 499.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1078, allocations: 0 / 499.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1078, allocations: 12 kB / 499.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1078, allocations: 4 kB / 499.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.1083, allocations: 131.8 kB / 499.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009848/0.1093, allocations: 0.6956 MB / 0.4884 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.1098, allocations: 193 kB / 0.4886 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.11, allocations: 92.17 kB / 0.4887 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.11, allocations: 7.984 kB / 0.4887 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.1104, allocations: 163.5 kB / 0.4889 GB, free: 13.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.1104, allocations: 0 / 0.4889 GB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008109/0.1112, allocations: 241.6 kB / 0.4891 GB, free: 13.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1113, allocations: 174.2 kB / 0.4893 GB, free: 13.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1115, allocations: 170.3 kB / 0.4894 GB, free: 12.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1115, allocations: 29.7 kB / 0.4894 GB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.1116, allocations: 120 kB / 0.4896 GB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1116, allocations: 35.81 kB / 0.4896 GB, free: 12.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.1117, allocations: 25.72 kB / 0.4896 GB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1119, allocations: 330.8 kB / 0.4899 GB, free: 12.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.1121, allocations: 89.64 kB / 0.49 GB, free: 12.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.1124, allocations: 128.2 kB / 0.4901 GB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1128, allocations: 189.8 kB / 0.4903 GB, free: 11.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1128, allocations: 0 / 0.4903 GB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006066/0.1135, allocations: 268.7 kB / 0.4906 GB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.1135, allocations: 33.64 kB / 0.4906 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1135, allocations: 4 kB / 0.4906 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1135, allocations: 0 / 0.4906 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1137, allocations: 27.97 kB / 0.4906 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1137, allocations: 8.094 kB / 0.4906 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.1139, allocations: 31.84 kB / 0.4907 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1139, allocations: 4 kB / 0.4907 GB, free: 11.56 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.0001422/0.114, allocations: 129.8 kB / 0.4908 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.1141, allocations: 15.84 kB / 0.4908 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1143, allocations: 90.67 kB / 0.4909 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1143, allocations: 7.938 kB / 0.4909 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1143, allocations: 0 / 0.4909 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1143, allocations: 8.031 kB / 0.4909 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1147, allocations: 405.2 kB / 0.4913 GB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1147, allocations: 4.062 kB / 0.4913 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1149, allocations: 27.97 kB / 0.4913 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1149, allocations: 0 / 0.4913 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1149, allocations: 4 kB / 0.4913 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1149, allocations: 0 / 0.4913 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1149, allocations: 4 kB / 0.4913 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.1155, allocations: 385.2 kB / 0.4917 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.1156, allocations: 19.83 kB / 0.4917 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.1156, allocations: 8 kB / 0.4917 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1158, allocations: 15.98 kB / 0.4918 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.1159, allocations: 15.97 kB / 0.4918 GB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1159, allocations: 7.938 kB / 0.4918 GB, free: 10.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.116, allocations: 143.2 kB / 0.4919 GB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.116, allocations: 0 / 0.4919 GB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1163, allocations: 35.89 kB / 0.492 GB, free: 10.16 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.001162/0.1175, allocations: 0.9718 MB / 0.4929 GB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.1181, allocations: 233.1 kB / 0.4931 GB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1181, allocations: 0 / 0.4931 GB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.1184, allocations: 80.19 kB / 0.4932 GB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1188, allocations: 27.98 kB / 0.4932 GB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.1222, allocations: 2.291 MB / 0.4955 GB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.1223, allocations: 117.2 kB / 0.4956 GB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.005e-05/0.1224, allocations: 16.48 kB / 0.4956 GB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.1225, allocations: 47.41 kB / 0.4956 GB, free: 6.145 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1225, allocations: 0 / 0.4956 GB, free: 6.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.154, allocations: 3.742 MB / 0.4993 GB, free: 2.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.06, allocations: 10.58 kB / 0.4993 GB, free: 2.535 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.566888630855829] Failed to read output from testmodel.py, exit status != 0: 11.167978305835277 11.197259269 11.085793885 Calling exit ...