Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.00124/0.00124, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001401/0.001401, allocations: 213.5 kB / 23.03 MB, free: 4.926 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.438/1.438, allocations: 230.6 MB / 256.8 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.02475/0.02475, allocations: 4.721 MB / 317.9 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.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_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.001988/0.001988, allocations: 55.91 kB / 442 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1094, allocations: 54.49 MB / 496.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005464/0.1149, allocations: 3.653 MB / 0.4884 GB, free: 15.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1168, allocations: 0.9505 MB / 0.4893 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1169, allocations: 11.94 kB / 0.4893 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1172, allocations: 83.16 kB / 0.4894 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1175, allocations: 178.5 kB / 0.4896 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.118, allocations: 195.7 kB / 0.4898 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008569/0.1188, allocations: 0.7597 MB / 0.4905 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/0.1194, allocations: 348.8 kB / 0.4908 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.1199, allocations: 299.1 kB / 0.4911 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.1203, allocations: 294.7 kB / 0.4914 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1204, allocations: 84 kB / 0.4915 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1206, allocations: 91.98 kB / 0.4916 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1207, allocations: 159.6 kB / 0.4917 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.121, allocations: 278.9 kB / 0.492 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.1219, allocations: 0.8526 MB / 0.4928 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1219, allocations: 0 / 0.4928 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1219, allocations: 0 / 0.4928 GB, free: 10.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1219, allocations: 0 / 0.4928 GB, free: 10.51 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001683/0.1236, allocations: 0.8427 MB / 0.4936 GB, free: 9.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1237, allocations: 8.031 kB / 0.4936 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.124e-05/0.1237, allocations: 17.12 kB / 0.4937 GB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.666e-05/0.1238, allocations: 90.7 kB / 0.4937 GB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.1242, allocations: 96.48 kB / 0.4938 GB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.1246, allocations: 334.1 kB / 0.4942 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.1247, allocations: 41.38 kB / 0.4942 GB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.1248, allocations: 52.31 kB / 0.4942 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1259, allocations: 0.5887 MB / 0.4948 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1259, allocations: 0 / 0.4948 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.126, allocations: 24 kB / 0.4948 GB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.126, allocations: 11.98 kB / 0.4949 GB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.127, allocations: 475.6 kB / 0.4953 GB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.1296, allocations: 1.551 MB / 0.4968 GB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.1304, allocations: 401.4 kB / 0.4972 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.1309, allocations: 255.8 kB / 0.4974 GB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.131, allocations: 8.281 kB / 0.4975 GB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000715/0.1317, allocations: 313.8 kB / 0.4978 GB, free: 5.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.934e-06/0.1317, allocations: 0 / 0.4978 GB, free: 5.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.0015/0.1332, allocations: 0.6636 MB / 0.4984 GB, free: 4.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.1333, allocations: 89.11 kB / 0.4985 GB, free: 4.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.1336, allocations: 336.5 kB / 0.4988 GB, free: 4.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.1337, allocations: 33.7 kB / 0.4988 GB, free: 4.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.1339, allocations: 264.4 kB / 0.4991 GB, free: 3.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1341, allocations: 138.8 kB / 0.4992 GB, free: 3.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1342, allocations: 74.12 kB / 0.4993 GB, free: 3.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1344, allocations: 354.7 kB / 0.4996 GB, free: 3.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.1349, allocations: 234.4 kB / 0.4999 GB, free: 3.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.1354, allocations: 305.1 kB / 0.5001 GB, free: 2.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.1363, allocations: 0.5021 MB / 0.5006 GB, free: 2.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1363, allocations: 0 / 0.5006 GB, free: 2.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001168/0.1375, allocations: 0.6192 MB / 0.5012 GB, free: 1.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.1375, allocations: 44.22 kB / 0.5013 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1375, allocations: 0 / 0.5013 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1375, allocations: 4 kB / 0.5013 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.1381, allocations: 123.8 kB / 0.5014 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1381, allocations: 4 kB / 0.5014 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.1384, allocations: 55.64 kB / 0.5015 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.1385, allocations: 16 kB / 0.5015 GB, free: 1.301 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002604/0.1387, allocations: 221.7 kB / 0.5017 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.1388, allocations: 35.77 kB / 0.5017 GB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/0.1396, allocations: 469.4 kB / 0.5022 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1397, allocations: 4 kB / 0.5022 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1397, allocations: 0 / 0.5022 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1397, allocations: 0 / 0.5022 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000606/0.1403, allocations: 0.4964 MB / 0.5027 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1403, allocations: 0 / 0.5027 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.1408, allocations: 115.9 kB / 0.5028 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1408, allocations: 0 / 0.5028 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.1409, allocations: 11.94 kB / 0.5028 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1409, allocations: 4.062 kB / 0.5028 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.1409, allocations: 11.92 kB / 0.5028 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.1424, allocations: 0.7897 MB / 0.5036 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1425, allocations: 47.88 kB / 0.5036 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.1425, allocations: 12 kB / 0.5036 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.1428, allocations: 23.97 kB / 0.5037 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1429, allocations: 35.92 kB / 0.5037 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1429, allocations: 12 kB / 0.5037 GB, free: 14.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.1432, allocations: 251 kB / 0.5039 GB, free: 14.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1432, allocations: 4 kB / 0.5039 GB, free: 14.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004152/0.1436, allocations: 135.7 kB / 0.5041 GB, free: 14.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.001826/0.1454, allocations: 1.332 MB / 0.5054 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1465, allocations: 0.528 MB / 0.5059 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1465, allocations: 0 / 0.5059 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.1469, allocations: 240 kB / 0.5061 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1473, allocations: 57.34 kB / 0.5062 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007094/0.1544, allocations: 4.617 MB / 0.5107 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1547, allocations: 259.9 kB / 0.5109 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002252/0.1549, allocations: 62.92 kB / 0.511 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.1552, allocations: 167.4 kB / 0.5111 GB, free: 7.074 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1552, allocations: 0 / 0.5111 GB, free: 7.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2241/0.3793, allocations: 9.385 MB / 0.5203 GB, free: 33.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 7.688 kB / 0.5203 GB, free: 33.98 MB / 382.1 MB " [Timeout remaining time 648] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.809817807981744] Failed to read output from testmodel.py, exit status != 0: 12.353970507974736 12.368007284 12.243365145 Calling exit ...