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.001314/0.001314, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00143/0.00143, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.785 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.02504/0.02504, allocations: 4.715 MB / 317.1 MB, free: 14.4 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.002108/0.002108, allocations: 75.88 kB / 441.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09697, allocations: 54.5 MB / 495.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.00449/0.1015, allocations: 2.712 MB / 498.4 MB, free: 84 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1031, allocations: 0.7285 MB / 499.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.1034, allocations: 11.94 kB / 499.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1036, allocations: 39.58 kB / 499.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.104, allocations: 95.14 kB / 499.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.1045, allocations: 131.8 kB / 499.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.1051, allocations: 410.5 kB / 499.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.1055, allocations: 162.3 kB / 499.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.1059, allocations: 151.6 kB / 0.4884 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.1061, allocations: 143.3 kB / 0.4885 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-05/0.1062, allocations: 40 kB / 0.4885 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1064, allocations: 59.97 kB / 0.4886 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.1064, allocations: 79.7 kB / 0.4887 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.1066, allocations: 143.4 kB / 0.4888 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.1072, allocations: 438.5 kB / 0.4892 GB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1072, allocations: 0 / 0.4892 GB, free: 13.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1072, allocations: 0 / 0.4892 GB, free: 13.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1072, allocations: 4 kB / 0.4892 GB, free: 13.48 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.001473/0.1087, allocations: 0.5814 MB / 0.4898 GB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1087, allocations: 12.03 kB / 0.4898 GB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1088, allocations: 62.67 kB / 0.4899 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.1092, allocations: 52.72 kB / 0.4899 GB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.1096, allocations: 226 kB / 0.4901 GB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.1096, allocations: 20.88 kB / 0.4902 GB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.1097, allocations: 24.38 kB / 0.4902 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.1105, allocations: 334.8 kB / 0.4905 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1105, allocations: 0 / 0.4905 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1105, allocations: 12 kB / 0.4905 GB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1105, allocations: 4 kB / 0.4905 GB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.1112, allocations: 281.8 kB / 0.4908 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1129, allocations: 0.8776 MB / 0.4916 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.1137, allocations: 290.6 kB / 0.4919 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.1141, allocations: 138.8 kB / 0.4921 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1142, allocations: 11.98 kB / 0.4921 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.1146, allocations: 183.3 kB / 0.4922 GB, free: 10.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.054e-06/0.1146, allocations: 11.94 kB / 0.4923 GB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001081/0.1157, allocations: 423.2 kB / 0.4927 GB, free: 9.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.1157, allocations: 55.41 kB / 0.4927 GB, free: 9.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.116, allocations: 233 kB / 0.4929 GB, free: 9.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.116, allocations: 29.7 kB / 0.493 GB, free: 9.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1162, allocations: 180.3 kB / 0.4931 GB, free: 9.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.1163, allocations: 75.36 kB / 0.4932 GB, free: 9.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1164, allocations: 53.66 kB / 0.4933 GB, free: 9.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1165, allocations: 334.8 kB / 0.4936 GB, free: 8.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.1169, allocations: 149.6 kB / 0.4937 GB, free: 8.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.1172, allocations: 197 kB / 0.4939 GB, free: 8.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.1179, allocations: 313.2 kB / 0.4942 GB, free: 8.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1179, allocations: 0 / 0.4942 GB, free: 8.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008729/0.1187, allocations: 419.8 kB / 0.4946 GB, free: 7.711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.1188, allocations: 37.64 kB / 0.4946 GB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1188, allocations: 4 kB / 0.4946 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1188, allocations: 0 / 0.4946 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.1191, allocations: 63.89 kB / 0.4947 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.1192, allocations: 7.984 kB / 0.4947 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.1194, allocations: 27.88 kB / 0.4947 GB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.1194, allocations: 20 kB / 0.4948 GB, free: 7.547 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.0001864/0.1196, allocations: 153.8 kB / 0.4949 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.1196, allocations: 31.78 kB / 0.4949 GB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008678/0.1205, allocations: 337.8 kB / 0.4953 GB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1205, allocations: 4 kB / 0.4953 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1205, allocations: 4 kB / 0.4953 GB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1205, allocations: 4 kB / 0.4953 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1209, allocations: 308.5 kB / 0.4956 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1209, allocations: 0 / 0.4956 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.1213, allocations: 59.89 kB / 0.4956 GB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.1213, allocations: 4 kB / 0.4956 GB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.1213, allocations: 11.92 kB / 0.4956 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1213, allocations: 0 / 0.4956 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1213, allocations: 0 / 0.4956 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1224, allocations: 0.4966 MB / 0.4961 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1225, allocations: 27.77 kB / 0.4961 GB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.1225, allocations: 7.984 kB / 0.4962 GB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.1227, allocations: 19.98 kB / 0.4962 GB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.1228, allocations: 27.95 kB / 0.4962 GB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1228, allocations: 4 kB / 0.4962 GB, free: 5.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.123, allocations: 176.5 kB / 0.4964 GB, free: 5.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.123, allocations: 0 / 0.4964 GB, free: 5.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1233, allocations: 67.89 kB / 0.4964 GB, free: 5.746 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.001438/0.1247, allocations: 1.037 MB / 0.4975 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008491/0.1256, allocations: 378.5 kB / 0.4978 GB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1256, allocations: 0 / 0.4978 GB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.126, allocations: 135.8 kB / 0.4979 GB, free: 4.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1263, allocations: 48.52 kB / 0.498 GB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.1313, allocations: 3.072 MB / 0.501 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1314, allocations: 166.5 kB / 0.5011 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1316, allocations: 37.61 kB / 0.5012 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1318, allocations: 83.41 kB / 0.5013 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1318, allocations: 0 / 0.5013 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.1665, allocations: 6.241 MB / 0.5074 GB, free: 10.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.15, allocations: 26.88 kB / 0.5074 GB, free: 10.51 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.82479298627004] Failed to read output from testmodel.py, exit status != 0: 11.264555305242538 11.480206262 11.369545838 Calling exit ...