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.001325/0.001325, 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.001383/0.001383, allocations: 217.9 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.02469/0.02469, allocations: 4.724 MB / 317.9 MB, free: 14.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.001908/0.001908, allocations: 71.88 kB / 442 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09535, allocations: 54.49 MB / 496.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004159/0.09951, allocations: 2.918 MB / 499.5 MB, free: 336 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1008, allocations: 0.7713 MB / 0.4885 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.101, allocations: 8 kB / 0.4885 GB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1011, allocations: 47.52 kB / 0.4886 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1013, allocations: 91.14 kB / 0.4886 GB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.1017, allocations: 131.8 kB / 0.4888 GB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.1021, allocations: 410.5 kB / 0.4892 GB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.1025, allocations: 178.3 kB / 0.4893 GB, free: 14.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1027, allocations: 155.5 kB / 0.4895 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1029, allocations: 155.4 kB / 0.4896 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.103, allocations: 44 kB / 0.4897 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.1031, allocations: 48 kB / 0.4897 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.1031, allocations: 75.77 kB / 0.4898 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.1033, allocations: 187.2 kB / 0.49 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.1038, allocations: 442.4 kB / 0.4904 GB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1038, allocations: 0 / 0.4904 GB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1038, allocations: 0 / 0.4904 GB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1038, allocations: 0 / 0.4904 GB, free: 13.62 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.001156/0.105, allocations: 0.5814 MB / 0.491 GB, free: 13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.105, allocations: 12.02 kB / 0.491 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.904e-05/0.105, allocations: 8.688 kB / 0.491 GB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.1051, allocations: 58.73 kB / 0.491 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.1054, allocations: 52.72 kB / 0.4911 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.1057, allocations: 225.9 kB / 0.4913 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1057, allocations: 24.88 kB / 0.4913 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.1058, allocations: 24.38 kB / 0.4913 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.1064, allocations: 330.6 kB / 0.4917 GB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1065, allocations: 0 / 0.4917 GB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.1065, allocations: 15.94 kB / 0.4917 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1065, allocations: 4 kB / 0.4917 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.1072, allocations: 281.8 kB / 0.4919 GB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1087, allocations: 1.006 MB / 0.4929 GB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.1095, allocations: 294.6 kB / 0.4932 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.1098, allocations: 140.8 kB / 0.4933 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1098, allocations: 4 kB / 0.4933 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/0.1103, allocations: 201.1 kB / 0.4935 GB, free: 10.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.1103, allocations: 0 / 0.4935 GB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001126/0.1114, allocations: 415.6 kB / 0.4939 GB, free: 9.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1115, allocations: 55.41 kB / 0.494 GB, free: 9.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1117, allocations: 244.9 kB / 0.4942 GB, free: 9.492 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.1117, allocations: 33.7 kB / 0.4943 GB, free: 9.453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1119, allocations: 168.3 kB / 0.4944 GB, free: 9.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.1119, allocations: 79.38 kB / 0.4945 GB, free: 9.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.112, allocations: 45.7 kB / 0.4945 GB, free: 9.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1122, allocations: 330.8 kB / 0.4949 GB, free: 8.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.1125, allocations: 127.9 kB / 0.495 GB, free: 8.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.1129, allocations: 167.3 kB / 0.4951 GB, free: 8.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.1136, allocations: 317.2 kB / 0.4954 GB, free: 8.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1136, allocations: 0 / 0.4954 GB, free: 8.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008334/0.1144, allocations: 390 kB / 0.4958 GB, free: 7.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.1144, allocations: 33.7 kB / 0.4958 GB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1145, allocations: 12.08 kB / 0.4959 GB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1145, allocations: 0 / 0.4959 GB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.1148, allocations: 67.83 kB / 0.4959 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1148, allocations: 0 / 0.4959 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.115, allocations: 35.81 kB / 0.4959 GB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.115, allocations: 15.98 kB / 0.496 GB, free: 7.637 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.0001842/0.1152, allocations: 165.7 kB / 0.4961 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1153, allocations: 23.86 kB / 0.4961 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007922/0.116, allocations: 331.6 kB / 0.4965 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1161, allocations: 0 / 0.4965 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1161, allocations: 0 / 0.4965 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1161, allocations: 0 / 0.4965 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.1165, allocations: 356.4 kB / 0.4968 GB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1165, allocations: 15.92 kB / 0.4968 GB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.1168, allocations: 51.97 kB / 0.4969 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1168, allocations: 0 / 0.4969 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1169, allocations: 7.984 kB / 0.4969 GB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1169, allocations: 0 / 0.4969 GB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1169, allocations: 3.938 kB / 0.4969 GB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.118, allocations: 0.4994 MB / 0.4974 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.118, allocations: 31.77 kB / 0.4974 GB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1181, allocations: 4 kB / 0.4974 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1183, allocations: 19.98 kB / 0.4974 GB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.1183, allocations: 23.95 kB / 0.4974 GB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1184, allocations: 12.06 kB / 0.4975 GB, free: 6.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.1185, allocations: 172.5 kB / 0.4976 GB, free: 5.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1185, allocations: 0 / 0.4976 GB, free: 5.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.1189, allocations: 71.83 kB / 0.4977 GB, free: 5.793 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.001382/0.1202, allocations: 1.034 MB / 0.4987 GB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.121, allocations: 346.5 kB / 0.499 GB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.121, allocations: 4.062 kB / 0.499 GB, free: 4.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.1214, allocations: 135.8 kB / 0.4992 GB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1217, allocations: 44.34 kB / 0.4992 GB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.1262, allocations: 2.956 MB / 0.5021 GB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1266, allocations: 0.771 MB / 0.5028 GB, free: 356 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.1268, allocations: 33.62 kB / 0.5029 GB, free: 320 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.127, allocations: 83.41 kB / 0.503 GB, free: 236 kB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.127, allocations: 0 / 0.503 GB, free: 236 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.1546, allocations: 5.869 MB / 0.5087 GB, free: 10.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.45, allocations: 5.531 kB / 0.5087 GB, free: 10.53 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.204367097001523] Failed to read output from testmodel.py, exit status != 0: 11.60623499401845 11.864712497 11.757357202 Calling exit ...