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.001671/0.001671, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002081/0.002081, allocations: 218 kB / 23.04 MB, free: 5.078 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.02456/0.02456, allocations: 4.716 MB / 317.9 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="cs",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.001943/0.001943, allocations: 63.91 kB / 442 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09691, allocations: 54.5 MB / 496.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003135/0.1, allocations: 1.736 MB / 498.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.101, allocations: 0.561 MB / 498.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.1011, allocations: 3.938 kB / 498.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1012, allocations: 11.86 kB / 498.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.1013, allocations: 27.72 kB / 498.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1016, allocations: 59.88 kB / 498.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1018, allocations: 123.6 kB / 499 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1019, allocations: 33.23 kB / 499.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1021, allocations: 71.72 kB / 499.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1022, allocations: 71.61 kB / 499.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1022, allocations: 8 kB / 499.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.466e-05/0.1022, allocations: 12 kB / 499.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.1023, allocations: 19.92 kB / 499.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.1023, allocations: 51.67 kB / 499.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1025, allocations: 123.4 kB / 499.4 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1025, allocations: 0 / 499.4 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1025, allocations: 0 / 499.4 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1025, allocations: 0 / 499.4 MB, free: 372 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.0008049/0.1033, allocations: 407.3 kB / 499.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1034, allocations: 8.031 kB / 499.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.426e-05/0.1034, allocations: 4.188 kB / 499.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/0.1035, allocations: 58.95 kB / 499.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.1037, allocations: 36.78 kB / 499.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1039, allocations: 167.8 kB / 0.4884 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.104, allocations: 12.66 kB / 0.4884 GB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.104, allocations: 12.38 kB / 0.4884 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.1044, allocations: 216.5 kB / 0.4886 GB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1045, allocations: 11.95 kB / 0.4886 GB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1045, allocations: 4 kB / 0.4886 GB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1045, allocations: 4 kB / 0.4886 GB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.1049, allocations: 163.8 kB / 0.4888 GB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.106, allocations: 0.7735 MB / 0.4895 GB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.1065, allocations: 217 kB / 0.4897 GB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.1068, allocations: 120.3 kB / 0.4898 GB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1068, allocations: 7.984 kB / 0.4899 GB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.1072, allocations: 187.5 kB / 0.49 GB, free: 13.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.1072, allocations: 0 / 0.49 GB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001961/0.1091, allocations: 0.6219 MB / 0.4906 GB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1092, allocations: 170.3 kB / 0.4908 GB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1094, allocations: 174.3 kB / 0.491 GB, free: 12.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.1094, allocations: 33.7 kB / 0.491 GB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.1095, allocations: 120.5 kB / 0.4911 GB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.1096, allocations: 79.27 kB / 0.4912 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.1097, allocations: 49.88 kB / 0.4912 GB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1098, allocations: 338.8 kB / 0.4916 GB, free: 12.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.1102, allocations: 104.4 kB / 0.4917 GB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.1105, allocations: 172.5 kB / 0.4918 GB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/0.1112, allocations: 309.2 kB / 0.4921 GB, free: 11.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1112, allocations: 0 / 0.4921 GB, free: 11.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009051/0.1121, allocations: 363.5 kB / 0.4925 GB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.1122, allocations: 35.89 kB / 0.4925 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1122, allocations: 4 kB / 0.4925 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1122, allocations: 0 / 0.4925 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1125, allocations: 64.08 kB / 0.4926 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1125, allocations: 4 kB / 0.4926 GB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1127, allocations: 35.91 kB / 0.4926 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.1128, allocations: 12 kB / 0.4926 GB, free: 10.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 26 * 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.0001463/0.1129, allocations: 145.7 kB / 0.4928 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.113, allocations: 15.91 kB / 0.4928 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.1133, allocations: 163 kB / 0.4929 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1133, allocations: 4 kB / 0.4929 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1133, allocations: 0 / 0.4929 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1133, allocations: 7.984 kB / 0.4929 GB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.115, allocations: 0.9896 MB / 0.4939 GB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.115, allocations: 8.156 kB / 0.4939 GB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.1152, allocations: 68.06 kB / 0.494 GB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1152, allocations: 4 kB / 0.494 GB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.1153, allocations: 8 kB / 0.494 GB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1153, allocations: 4 kB / 0.494 GB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1153, allocations: 3.938 kB / 0.494 GB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009411/0.1162, allocations: 0.7179 MB / 0.4947 GB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.1162, allocations: 19.86 kB / 0.4947 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.1163, allocations: 8 kB / 0.4947 GB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.1166, allocations: 31.91 kB / 0.4948 GB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.1167, allocations: 27.95 kB / 0.4948 GB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.1167, allocations: 15.98 kB / 0.4948 GB, free: 8.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1169, allocations: 135.2 kB / 0.4949 GB, free: 8.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1169, allocations: 0 / 0.4949 GB, free: 8.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.1173, allocations: 40 kB / 0.495 GB, free: 8.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (24): * Single equations (assignments): 22 * 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.001634/0.119, allocations: 1.384 MB / 0.4963 GB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008154/0.1198, allocations: 322.9 kB / 0.4966 GB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1198, allocations: 4 kB / 0.4966 GB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.1202, allocations: 156.4 kB / 0.4968 GB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/0.1209, allocations: 23.92 kB / 0.4968 GB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.1252, allocations: 2.886 MB / 0.4996 GB, free: 3.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1256, allocations: 0.744 MB / 0.5003 GB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1258, allocations: 45.44 kB / 0.5004 GB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1259, allocations: 47.42 kB / 0.5004 GB, free: 2.578 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1259, allocations: 0 / 0.5004 GB, free: 2.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1497, allocations: 4.376 MB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.16, allocations: 6.75 kB / 0.5047 GB, free: 14.33 MB / 382.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.755351965897717] Failed to read output from testmodel.py, exit status != 0: 11.32288730808068 11.339967721 11.234029544 Calling exit ...