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.001967/0.001967, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002182/0.002182, allocations: 217 kB / 22.25 MB, free: 5.082 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.023 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.02615/0.02615, allocations: 4.718 MB / 317.2 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.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_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.002053/0.002053, allocations: 63.91 kB / 441.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1107, allocations: 54.5 MB / 495.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.006589/0.1173, allocations: 4.026 MB / 499.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1197, allocations: 1.001 MB / 0.489 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005722/0.1203, allocations: 15.94 kB / 0.4891 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.1207, allocations: 83.16 kB / 0.4891 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.1214, allocations: 170.5 kB / 0.4893 GB, free: 13.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.122, allocations: 199.7 kB / 0.4895 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.1232, allocations: 0.7558 MB / 0.4902 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.1239, allocations: 352.8 kB / 0.4906 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.1245, allocations: 299.1 kB / 0.4908 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.125, allocations: 294.7 kB / 0.4911 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1251, allocations: 84 kB / 0.4912 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1253, allocations: 92 kB / 0.4913 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.1255, allocations: 159.5 kB / 0.4914 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.1258, allocations: 342.6 kB / 0.4918 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1269, allocations: 0.8525 MB / 0.4926 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1269, allocations: 0 / 0.4926 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1269, allocations: 0 / 0.4926 GB, free: 10.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.1269, allocations: 0 / 0.4926 GB, free: 10.53 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.001824/0.1287, allocations: 0.8388 MB / 0.4934 GB, free: 9.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1288, allocations: 11.97 kB / 0.4934 GB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.1289, allocations: 90.7 kB / 0.4935 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.1292, allocations: 96.48 kB / 0.4936 GB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.1298, allocations: 338.1 kB / 0.4939 GB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.1299, allocations: 33.38 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.1299, allocations: 48.38 kB / 0.494 GB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.131, allocations: 0.5928 MB / 0.4946 GB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1311, allocations: 0 / 0.4946 GB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.1311, allocations: 16 kB / 0.4946 GB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1311, allocations: 12 kB / 0.4946 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009954/0.1321, allocations: 471.6 kB / 0.4951 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.1351, allocations: 1.855 MB / 0.4969 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.1359, allocations: 399.6 kB / 0.4973 GB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.1364, allocations: 256.5 kB / 0.4975 GB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.1365, allocations: 4.281 kB / 0.4975 GB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006851/0.1372, allocations: 313.8 kB / 0.4978 GB, free: 4.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.965e-06/0.1372, allocations: 0 / 0.4978 GB, free: 4.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001537/0.1387, allocations: 0.6639 MB / 0.4985 GB, free: 4.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.1388, allocations: 81.11 kB / 0.4985 GB, free: 4.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.1392, allocations: 340.5 kB / 0.4989 GB, free: 3.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.1393, allocations: 33.7 kB / 0.4989 GB, free: 3.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.1395, allocations: 264.4 kB / 0.4991 GB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1396, allocations: 134.8 kB / 0.4993 GB, free: 3.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1398, allocations: 78.06 kB / 0.4993 GB, free: 3.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.14, allocations: 358.7 kB / 0.4997 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.1405, allocations: 204.7 kB / 0.4999 GB, free: 2.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.141, allocations: 275.4 kB / 0.5001 GB, free: 2.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.142, allocations: 0.4982 MB / 0.5006 GB, free: 1.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.142, allocations: 0 / 0.5006 GB, free: 1.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001216/0.1432, allocations: 0.5978 MB / 0.5012 GB, free: 1.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.1433, allocations: 41.69 kB / 0.5013 GB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1433, allocations: 3.984 kB / 0.5013 GB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1433, allocations: 4 kB / 0.5013 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.1439, allocations: 119.8 kB / 0.5014 GB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.1439, allocations: 4 kB / 0.5014 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.1442, allocations: 63.83 kB / 0.5014 GB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.1443, allocations: 16 kB / 0.5015 GB, free: 1.117 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.0003039/0.1446, allocations: 217.7 kB / 0.5017 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.1446, allocations: 43.7 kB / 0.5017 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.1456, allocations: 461.4 kB / 0.5022 GB, free: 404 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1456, allocations: 4 kB / 0.5022 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1456, allocations: 4 kB / 0.5022 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1456, allocations: 0 / 0.5022 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/0.1464, allocations: 0.5704 MB / 0.5027 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1464, allocations: 0 / 0.5027 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.1469, allocations: 111.9 kB / 0.5028 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1469, allocations: 0 / 0.5028 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.147, allocations: 8 kB / 0.5028 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.147, allocations: 0 / 0.5028 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.147, allocations: 4 kB / 0.5028 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.1485, allocations: 0.7935 MB / 0.5036 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.1486, allocations: 47.7 kB / 0.5037 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.1487, allocations: 8 kB / 0.5037 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1489, allocations: 27.97 kB / 0.5037 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.149, allocations: 32.12 kB / 0.5037 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.1491, allocations: 16 kB / 0.5037 GB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002931/0.1494, allocations: 251 kB / 0.504 GB, free: 14.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1494, allocations: 0 / 0.504 GB, free: 14.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.1498, allocations: 127.7 kB / 0.5041 GB, free: 14.34 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.001879/0.1517, allocations: 1.344 MB / 0.5054 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.1528, allocations: 0.4993 MB / 0.5059 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1528, allocations: 4 kB / 0.5059 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.1533, allocations: 235.7 kB / 0.5061 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1537, allocations: 59.67 kB / 0.5062 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/0.1612, allocations: 4.493 MB / 0.5106 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.1618, allocations: 0.8618 MB / 0.5114 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.162, allocations: 62.92 kB / 0.5115 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.1623, allocations: 159.4 kB / 0.5116 GB, free: 6.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1623, allocations: 0 / 0.5116 GB, free: 6.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2505/0.4128, allocations: 9.288 MB / 0.5207 GB, free: 33.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 13.34 kB / 0.5207 GB, free: 33.97 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.704075874062255] Failed to read output from testmodel.py, exit status != 0: 12.169933926081285 12.184891045 12.055062272 Calling exit ...